int p= 3, q; q = p++ - p++ % p ; find the value of p and q
Answers
Answered by
0
Answer:
Value of p = 5 and q = -1
Answered by
1
Question:-
Evaluate the following and find the value of p and q.
Working Out:-
Given,
p=3
q=p++ - p++%p;
Or,
q=3-4%5
Or,
q=3-4
Or,
q=-1
Now,
p=5
Answer:-
p=5 and q= -1.
Similar questions