Home » C++ Programming » Data Structures » Question
  1. Which of the following is a properly defined structure?
    1. struct p_struct {int p;}
    2. struct p_struct {int p;};
    3. struct p_struct int p;
    4. struct {int p;}
    5. None of these
Correct Option: B

The p_struct is declared as structure name and its data element is p.



Your comments will be displayed only after manual approval.