Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- #include <conio.h>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int a;
- int *wsk;
- wsk = &a;
- *wsk=40;
- int b=10;
- cout << *wsk;
- cout << endl;
- cout << &wsk;
- cout << endl;
- cout << wsk;
- cout << endl;
- wsk = &b;
- cout << endl;
- cout << *wsk;
- cout << endl;
- cout << &wsk;
- cout << endl;
- cout << wsk;
- cout << endl;
- system("PAUSE");
- return EXIT_SUCCESS;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement