Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

C | Structure & Union | Question 6

  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021

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

Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C course to start learning today.
My Personal Notes arrow_drop_up
Recommended Articles
Page :