A
Q. What is the output of this program?
Code:
void main()
{
int a, b = 5, c;
a = 5 * (b++);
c = 5 * (++b);
printf("%d %d",a,c);
}
{
int a, b = 5, c;
a = 5 * (b++);
c = 5 * (++b);
printf("%d %d",a,c);
}
- Correct Answer - Option(A)
- Views: 21
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.