#include
void inc (int, int&);
void main ()
{
int i = 3;
int j;
inc(i,j);
cout << j << endl;
}
void inc (int a, int& b)
{
b = a+1;
}
void inc (int, int&);
void main ()
{
int i = 3;
int j;
inc(i,j);
cout << j << endl;
}
void inc (int a, int& b)
{
b = a+1;
}
No comments:
Post a Comment