A
Q. What is the output of this program?
Code:
void main()
{
int p, q, r, s;
p = 1;
q = 2;
r = p, q;
s = (p, q);
printf("p=%d q=%d", p, q);
}
{
int p, q, r, s;
p = 1;
q = 2;
r = p, q;
s = (p, q);
printf("p=%d q=%d", p, q);
}
- Correct Answer - Option(B)
- Views: 11
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.