-
Which of the following structure declaration is correct ?
-
-
struct employ
{
char name[10];
float salary;
int workingdays;
}; -
struct employ
{
char name[10];
float salary;
int workingdays;
} -
struct employ
{
char name[10]
float salary
int workingdays
}; - All of the above.
-
Correct Option: A
In B semicolon is missing after the declaration. In C semicolon is missing after each structure element.