Skip to content
Related Articles

Related Articles

C | Structure & Union | Question 6
  • Difficulty Level : Basic
  • Last Updated : 07 Mar, 2013

Which of the following operators can be applied on structure variables?
(A) Equality comparison ( == )
(B) Assignment ( = )
(C) Both of the above
(D) None of the above


Answer: (B)

Explanation: A structure variable can be assigned to other using =, but cannot be compared with other using ==

Quiz of this Question

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up
Recommended Articles
Page :