Open In App
Related Articles

C | Structure & Union | Question 6

Improve Article
Save Article
Like Article

Which of the following operators can be applied on structure variables?


Equality comparison ( == )


Assignment ( = )


Both of the above


None of the above

Answer: (B)


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

Quiz of this Question
Please comment below if you find anything wrong in the above post

Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads