what is the output of the following code?
#include<stdio.h>
int main()
{
int a,b,c;
a=1;
b=1;c=2;
printf("%d %d %d %d",a,b,c);
return 0;
}
2. compiled, but stops when run
3. 1 1 2
4.strange output
5. None
#include<stdio.h>
int main()
{
int a,b,c;
a=1;
b=1;c=2;
printf("%d %d %d %d",a,b,c);
return 0;
}
choose one answer among the following.
1. compile error2. compiled, but stops when run
3. 1 1 2
4.strange output
5. None
No comments:
Post a Comment