0
Tell me what i am doing wrong in this code?
8 Answers
+ 9
Put a semicolon after swap (a,b)
Correction : swap (a,b);
+ 4
you have just forgotten a semicolon after swap(a,b) @Jatin.
+ 4
@Jatin why have you swapped the values twice.
+ 2
o thanks@mohammad bro
+ 2
just calling the function by value
+ 2
and seeing the diff be cbv and cbr
+ 1
thnkS
+ 1
but thAt semicolon struck me