Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main()
- {
- using namespace std;
- char a='a', b = 'b', dop_per;
- char *a1 = &a;
- char *b1 = &b;
- dop_per = *a1;
- a = *b1;
- b = dop_per;
- cout <<"a="<<a<<"\nb="<<b<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment