Good Evening
19:22 pm

Sponsor Area

Sponsor Area

Question is

Write the output of the following C++ program code:
Note: Assume all required header files are already being included in the program.

void Position(int & C1,int C2=3)
{
	C1+=2;
	C2+=Y;
}
void main()
{
	int P1=20, P2=4;
	Position(P1);
	cout<<P1<<','<<P2<<end1;
	Position(P2,P1);
	cout<<P1<<','<<P2<<end1;
}

Mock Test Series

Sponsor Area

Sponsor Area

NCERT Book Store

NCERT Sample Papers

Entrance Exams Preparation