. What is error in following declaration? struct outer{ int a; struct inner{ char c; }; };

Question:
. What is error in following declaration?
struct outer{ int a;
struct inner{
char c;
};
};

1. nesting of structure is not allowed in c

2.it is necessary to initialize the member variable

3. inner structure must have name

4.outer structure must have name

Posted Date:-2022-07-06 06:47:10


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!