Which of the following is a properly defined structure?
A. struct {int num;}
B. struct sum {int num;}
C. struct sum int sum;
D. struct sum {int num;};
Answer:D
Which of the following is a properly defined structure?
A. struct {int num;} B. struct sum {int num;} C. struct sum int sum; D. struct sum {int num;};