A
Q. What is the output of C Program.?
Code:
int main()
{
int a=0, b;
a = (5>2) ? b=6: b=8;
printf("%d %d",a, b);
return 0;
}
{
int a=0, b;
a = (5>2) ? b=6: b=8;
printf("%d %d",a, b);
return 0;
}
- Correct Answer - Option(D)
- Views: 25
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.