Mega Code Archive
Categories
/
C
/
Code Snippets
Preprocessor error
#include
int main(void) { int j; j = 1; #error This is an error message. printf("%d", j); /* this line will not be compiled */ return 0; }