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
1
Answer:
c) 6, 2 , 8 will be the answer after operating all the increments nad decrements.
Similar questions
Geography,
19 days ago
English,
19 days ago
Science,
1 month ago
English,
8 months ago
Environmental Sciences,
8 months ago