Vidyalelo
C++ Programming · Q93

Introduction to C++

Programming · C++ Programming · question 93

Q93

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

A.
struct STRUCT S;
Answer
B.
STRUCT S;
C.
Both struct STRUCT S; and STRUCT S;
D.
Both C and C++ have different syntax

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board