Why this code gives an error:
#include <stdio.h>
#define Rep (int)6
int main(){
#if Rep==6
printf("T");
#else
printf("F");
#endif
return 0;
}
- Why does it refuse the casting?
- Is it a 'preprocessor error' or a 'compiler error'?