Untitled
unknown
c_cpp
2 years ago
182 B
4
Indexable
#include <iostream>
using namespace std;
void foo(int &a, int &b) {
int c = a;
a = b;
b = c;
cout << a << ' ' << c;
}
int main() {
int a = 0, b = 1;
foo(a, b);
}Editor is loading...
Leave a Comment