Computer Science, asked by synthiacalab, 1 month ago

#include

{

int x=1, y=2;

printf("%d\n", x++); printf ("%d\n", ++y);

}

Answers

Answered by surajlekurwale4
0

Answer:

output:

1

3

Explanation:

x++ is post-increment, 1st it will display value and increment by one.

++y is pre-increment , 1st it will increment value by one and then display that value.

Similar questions