Computer Science, asked by subha143dwt, 1 month ago

What is the output of the following program fragment is……………………..

int i=4, j=3, k=0;

k=++i - --j + i++ - --j + j++ ;

printf(“%d %d %d”,i,j,k);

a) 7,2,8

b) 5,2,10

c) 6,2,8

d) 4,2,8​

Answers

Answered by abcdef03011999
1

Answer:

c) 6, 2 , 8 will be the answer after operating all the increments nad decrements.

Similar questions