Skip to content
Related Articles
Open in App
Not now

Related Articles

C | Structure & Union | Question 6

Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

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
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!