Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- a = 100;
- p = &a;
- cout << "variable a: " << a << endl;
- cout << "variable *p: " << *p << endl;
- funcion(&a);
- cout << "variable a: " << a << endl;
- cout << "variable *p: " << *p << endl;
- cin.get();
- return 0;
Add Comment
Please, Sign In to add comment