Computer Science, asked by Anonymous, 1 year ago

In C++ what will be the value of the expressions if j=5 initally?
1.(5*j++)%6
2.(5*j--)%3

Attachments:

Anonymous: complete answer please

Answers

Answered by nitish8089
1

ur \: answer....
1) (5*5)%6=1
2)(5*5)%3=1

Anonymous: please explain the process
nitish8089: just read two thing.
nitish8089: pre-increment operator
nitish8089: post- increment operator
Similar questions