Question
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;
};
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;
};
Answer: Option A
Was this answer helpful ?
In 2 and 3 semicolon are missing in structure element.
Was this answer helpful ?
More Questions on This Topic :
Question 5.
Which of the declaration is correct?
....
Submit Solution