Q16
What is the correct syntax to declare a structure with a tag name in C++?
A.
structName { /* members */ };
B.
struct { /* members */ } structName;
C.
structName typedef { /* members */ };
D.
struct structName { /* members */ };
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board