Examveda
Examveda

Which statement correctly defines a structure named "Person" with members "name" and "age" of type char* and int respectively?

A. struct Person { char* name; int age; }

B. struct Person { name, age; }

C. struct { name; age; } Person;

D. struct { char* name, int age; } Person;

Answer: Option A


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union