Sail E0 Webinar
Question


Which of the structure is incorrcet?
1:


struct aa
{
int a;
float b;
};
2:


struct aa
{
int aa;
float b;
struct aa var;
};
3:


struct aa
{
int a;
float b;
struct aa *var;
};
Options:
A .  1
B .  2
C .  3
D .  1, 2, 3
Answer: Option B

Option B gives "Undefined structure in 'aa'" error.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers