Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <sstream>
- #include <vector>
- using namespace std;
- int keisti(int &a, int &b){
- cout << "AB "<< a << " " << b << endl;
- a = 1;
- b = 2;
- cout << "AB "<< a << " " << b << endl;
- return a+b;
- }
- int main(){
- int x = 4;
- int y = 5;
- cout << "XY " << x << " " << y << endl;
- keisti(x, y);
- cout << "XY "<< x << " " << y << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement