The purpose of the preprocessor directive #error is that ____________

Lan Anh

New member
The purpose of the preprocessor directive #error is that ____________
A. It rectifies any error present in the code
B. It rectifies only the first error which occurs in the code
C. It causes the preprocessor to report a fatal error
D. It causes the preprocessor to ignore an error
 
Answer: c
Explanation: #error is a preprocessor directive which causes the preprocessor to report a fatal error. The tokens which form the rest of the line after #error are used as the error message.
 

Tìm kiếm

Back
Top