Computer Science, asked by cheifmarkyt, 6 months ago

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 luisecubero77
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