a=chg(b) ;
cout << a << b ;
If the function chg is coded as
int chg(int &x)
{
x = 10;
return ();
}
then Functions
You must be logged in to post a comment.
a=chg(b) ;
cout << a << b ;
If the function chg is coded as
int chg(const int &x)
{
x=10;
return ()
};
then Functions
You must be logged in to post a comment.
You must be logged in to post a comment.
You must be logged in to post a comment.
You must be logged in to post a comment.
You must be logged in to post a comment.
You must be logged in to post a comment.
You must be logged in to post a comment.