0
I think it's output 12345 but why it's show output complier error plz explain?
#define LOOP(a) for(int i=1;i<=a;i++) \ {printf("%d ",i);} int main() { LOOP(5); return 0; }
1 Odpowiedź
+ 3
Your code is working properly and Output giving as 12345 i tried no warnings or error showing try this again
#include<stdio.h>
#define LOOP(a) for(int i=1;i<=a;i++) \
{printf("%d ",i);}
int main() {
LOOP(5);
return 0;
}