Answer to Question #88743 in C++ for Shivam

Question #88743
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
Expert's answer
2019-04-29T09:32:36-0400

52

202415

155


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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS