Home » C Programming » Declarations and Initializations

Which of the structure is incorrcet? 1 : struct aa { int a; float b; }; 2 : struct aa { int a; float b; struct aa var; }; 3 : struct aa { int a; float b; struct aa *var; };

Correct Answer: 2

Explanation:

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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion