Q. Which of the following is not true about structs in C?

  • (A) No Data Hiding
  • (B) Functions are allowed inside structs
  • (C) Constructors are not allowed inside structs
  • (D) Cannot have static members in the struct body
πŸ’¬ Discuss
βœ… Correct Answer: (B) Functions are allowed inside structs

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
767
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
83%
Success Rate