Which of the structure is correct? 1 : struct book
{
char name[10];
float price;
int pages;
}; 2 : struct aa
{
char name[10];
float price;
int pages;
} 3 : struct aa
{
char name[10];
float price;
int pages;
}
Correct Answer: 1
Explanation:
In 2 and 3 semicolon are missing in structure element.