void swap (int m, int n)
{
int x = m;
m = n ;
n = x ;
}
int main( )
{
int x = 5, y = 3;
swap (x,y);
printf("%d%d", x, y);
}
The output of the program is
A
Compile error
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
5 3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
3 5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
5 5
No worries! We‘ve got your back. Try BYJU‘S free classes today!