predict the output of the following snippet
1. int m ; p;
m=5 ; p=0
find p= m-- + --m
2. int m , p;
m= 10 , find p if
p=m++ * m++
Answer the above questions with full explanation
Answers
Answered by
1
1 . p=5+5
=10
2 . p=10*10
= 100
Answered by
1
Answer:
hi I am Shivam from class XI science stream
and I am from Joseph and Mary public school in Delhi
you also tell about yourself
Similar questions