Filters
Question type

Study Flashcards

The ! operator is an unary operator.

A) True
B) False

Correct Answer

verifed

verified

If you inadvertently use an assignment symbol, =, in place of the relational symbol, == in a relational expression, the compiler will flag this with either a warning or error message.

A) True
B) False

Correct Answer

verifed

verified

The use of ____ in a C program will result in a compiler error.


A) if (age == 40)
B) if (40 == age)
C) if (age = 40)
D) if (40 = age)

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

The && operator has a right-to-left associativity.

A) True
B) False

Correct Answer

verifed

verified

Showing 41 - 44 of 44

Related Exams

Show Answer