Edited....
we can use DRY RUN TECHNIQUE
now
lets start with void main()
first
M=90 N=10
now the statement execute(M) ;
gives M as a parameter to the function and B in execute() function gets a value 90
so
B=90 and C=100
now TEMP=190
B=B+TEMP
so
B=90+190=280
C=100
hence it displays
an output as
"190 280 100"
now function returns back
M has a value 280 (same as B) now..
N is still 10
so it displays an output as
"280 10"
now again M and N(this time) are passed as parameters
M=280
N=10
so B gets a value 280 and C gets 10(overloading)
so
now
TEMP=290
B=280+290=570
C=10
so it doesnt execute the statement cout<<TEMP<<B<<C;
function gets returned
now
M=570(same as B)
and N still 10
so finally it displays
"570 10"