The assert macro returns __________ value.
Answer: D
Correct answer: no
assert is a void macro: it returns nothing. If the condition holds it does nothing at all; if it fails it prints the expression, the file and the line and calls abort(). So it can never appear where a value is wanted.
Please log in or register to report this question.