Evaluate:
(a) x=h++%5 if h=5 initially
Answers
Answered by
3
Answer:
now value of a++ is a post increment so first it will use the same value i.e. a=10 and then do increment in ... int i=5,j=5,y,x; ... #include< stdio.h> int main() { int a=5; int b=++a*a++; printf("%d", b);
Answered by
1
x=h++%5 if h=5 will evaluate to 0
Similar questions