Multiple choice technology programming languages

It is possible to compare two structures using == operator.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In C, you cannot directly compare two structures using the == operator - it will cause a compilation error. Structures must be compared member by member, or using memcmp() for simple structures without padding. Option A (True) is incorrect because == doesn't work on structures.