C++ STRUCTURE AND UNION | C++ FOUNDATION Question 2

Last Updated :
Discuss
Comments

Which of the following is a properly defined structure?

struct {int a;}

struct a_struct {int a;}

struct a_struct int a;

struct a_struct {int a;};

Share your thoughts in the comments