A
Q. What will be the output of the following C code?
Code:
#include <stdio.h>
void main()
{
int x = 10;
int y = x++ + 20;
printf("%d,%d",x,y);
return 0;
}
void main()
{
int x = 10;
int y = x++ + 20;
printf("%d,%d",x,y);
return 0;
}
- Correct Answer - Option(A)
- Views: 19
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.