| Predict the output of following code snippet?
#include<stdio.h>
#define a 6
int main()
int a=3;
a+=1;
printf("%d",a);
return 0;
Answers
Answered by
2
Answer:
Step-by-step explanation:
Output:Above program goes in infinite loop because n is never zero when loop condition (n != 0) is checked.
Similar questions
Computer Science,
5 months ago
Math,
5 months ago
Math,
10 months ago
Math,
1 year ago
Math,
1 year ago