Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "headerFile.h"
- #include <iostream>
- using namespace std;
- int main(){
- cin >> a >> b;
- fooForDet(&a, &b);
- cout << a << ' ' << b << '\n';
- cin >> a >> b;
- fooForDet(a, b);
- cout << a << ' ' << b;
- double k;
- cin >> k;
- foo(&k);
- cout << k << '\n';
- // by reference
- cin >> k;
- foo(k);
- cout << k;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement