state gov UP Police Programmer Grade 2 Mock Test Series Programming and Data Structure Programming in C
What will be the output of the program?
int main()
{
int a=0;
a=5>2?printf("4"):3;
printf("%d",a);
return 0;
}
1
41
2
14
3
56
4
compiler error
What will be the output of the program?
int main()
{
int a=0;
a=5>2?printf("4"):3;
printf("%d",a);
return 0;
}