Which of the following syntax for declaring a variable of struct STRUCT can be used in both C and C++?
A. struct STRUCT S;
B. STRUCT S;
C. Both struct STRUCT S; and STRUCT S;
D. Both C and C++ have different syntax
Answer: Option A
Related Questions on Introduction to C plus plus
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream

Join The Discussion