C Programming :: C Preprocessor
-
What will be the output of the program?
#include
' #define MAN(x, y) ((x)>(y)) ? (x):(y); int main() { int i=10, j=5, k=0; k = MAN(++i, j++); printf("%d, %d, %d\n", i, j, k); return 0; } -
Will the program compile successfully?
#include
-
Will the program compile successfully?
#include
-
Will the program compile successfully?
#include
int main() { #ifdef NOTE int a; a=10; #else int a; a=20; #endif printf("%d\n", a); return 0; } -
Will the following program print the message infinite number of times?
#include
-
Will it result in to an error if a header file is included twice?