Which of the following syntax for declaring a variable of struct STRUCT can be used in both C and C++?

Question:
Which of the following syntax for declaring a variable of struct STRUCT can be used in both C and C++?

1.struct STRUCT S;

2.STRUCT S;

3.Both struct STRUCT S; and STRUCT S;

4.Both C and C++ have different syntax

Posted Date:-2021-02-21 05:09:41


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!