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); }

24th Jun 2020, 12:00 PM
MANSOOR PASHA
MANSOOR PASHA - avatar
1 Antwort
+ 2
Use %d for MAX
24th Jun 2020, 12:29 PM
skaarj1989
skaarj1989 - avatar