C | Structure & Union | Question 6
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
Recommended Posts:
- C | Structure & Union | Question 5
- C | Structure & Union | Question 7
- C | Structure & Union | Question 10
- C | Structure & Union | Question 10
- C | Structure & Union | Question 1
- C | Structure & Union | Question 2
- C | Structure & Union | Question 8
- C | Structure & Union | Question 9
- C | Structure & Union | Question 4
- Difference between Structure and Union in C
- Anonymous Union and Structure in C
- Output of C++ programs | Set 41 (Structure and Union)
- Output of C programs | Set 44 (Structure & Union)
- Union in C
- C | Loops & Control Structure | Question 17



