What will be the output of the following program?
int x=11, y=22, z;
z = x%y + y++ - x++ + y-- + --x / --y;
Answers
Answered by
0
Answer:
z = 42
I used Borlandc ++ 5.02
Explanation:
#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int x=11, y=22, z;
z = x%y + y++ - x++ + y-- + --x / --y;
printf("%d",z);
getch();
}
Attachments:
Similar questions