Question.5
A developer writes a swap function:
swap
void swap(int a, int b) { int temp = a; a = b; b = temp; } int x = 10, y = 20; swap(x, y); printf("%d %d", x, y);
What is the output?
Select Answer
20 10
10 20
0 0
Compilation error