adplus-dvertising
frame-decoration

Question

Which of the following is a properly defined struct?

a.

struct {int a;}

b.

struct a_struct {int a;}

c.

struct a_struct int a;

d.

struct a_struct {int a;};

Posted under C Programming

Answer: (d).struct a_struct {int a;};

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is a properly defined struct?