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 ответ
+ 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); }