Q. Choose a correct statement about C structure

Code:
int main()
{
    struct ship
    {

    };
    return 0;
}
  • (A) There is no use of defining an empty structure
  • (B) It is wrong to define an empty structure
  • (C) Member variables can be added to a structure even after its first definition.
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) There is no use of defining an empty structure

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
290
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate