0
Predict the output because it's showings unexpected answer
#include <stdio.h> #define PI 3.1416 void main() { #define MAX 1024 printf("PI:%f\n",PI); printf("MAX:%f\n",MAX); }
1 Respuesta
+ 2
Use %d for MAX
#include <stdio.h> #define PI 3.1416 void main() { #define MAX 1024 printf("PI:%f\n",PI); printf("MAX:%f\n",MAX); }