#include <stdio.h>
extern "C" {
struct phone
{
int areacode;
long number;
};
struct person
{
char name[30];
char gender;
int age;
int weight;
struct phone; // Anonymous structure; no name needed
} Jim;
void setup()
{
Jim.number = 1234567;
Serial.print(Jim.number);
}
void loop() {}
}