0
Can i swap two number using call by reference function? ??
5 Antworten
+ 2
void swap(int &first, int &second) {
int temp = first;
first = second;
second = temp;
}
+ 1
Thanks sir
0
Assuming your language supports reference parameters, sure.
0
In c++ how can i sir??
Please help