34 .
What is the output of the following code ?
#include<`stdio.h`> (Please neglect `` this signs)
void swap(int&, int&);
void main()
{
int a = 10,b=20;
swap (a++,b++);
printf("
%d%d",a, b);
}
void swap(int& x, int& y)
{
x+=2;
y+=3;
}
A.30, 60
B. 14, 24
C. 11, 21
D.10, 20
E.None of the above
View AnswerAns: 11, 21