1.

Give the output of the following:#include<iostream.h>void Execute(int &X,int Y=200){int TEMP = X+Y;X+=TEMP;if(Y!=200)cout<<TEMP<<X<<Y<<end1;}void main () {int A=50,B=20;Exwcute(B);cout<<a<<B<<end1;Exwcute(A,B);cout<<A<<B<<end1;

Answer»

Output:

50240

290340240

340240



Discussion

No Comment Found

Related InterviewSolutions