Answer to Question #88743 in C++ for Shivam
Write the output of the following program :
#include <upstream.h>
#include <convo.h>
int R =10;
void display (int x , int y=4)
{
x=x+R;
R=R+5;
y=y+x;
cout <<x<<y <<R <<endl;
}
void main ( )
{
int R=5 , t=2;
cout <<R <<t <<endl;
display ( : : R ) ;
cout <<: : R <<R <<endl ;
}
1
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment