Vidyalelo
C++ Programming · Q32

Structures and Unions in C++

Programming · C++ Programming · question 32

Q32

Which of the following is a properly defined structure?

A.
struct {int a;}
B.
struct a_struct {int a;}
C.
struct a_struct int a;
D.
struct a_struct {int a;};
Answer

Answer: Option D

Solution

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