A

Admin • 828.03K Points
Coach

Q. Which of the following is a correct way to define a struct?

  • (A) struct A { int x; }
  • (B) structure A { int x; }
  • (C) class A { int x; }
  • (D) define A { int x; }
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
'struct' is used to define structures in C.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.