Q. How is a structure defined in C?

  • (A) struct { int x; };
  • (B) structure { int x; };
  • (C) define struct x;
  • (D) typedef int x;
πŸ’¬ Discuss
βœ… Correct Answer: (A) struct { int x; };
Explanation: A structure is defined using the struct keyword.
Explanation by: Mr. Dubey
A structure is defined using the struct keyword.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate