Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ConsoleApplication12.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include <iostream>
- int _tmain(int argc, _TCHAR* argv[])
- {
- bool a = true;
- bool b = false;
- bool* addrA = &a;
- bool* addrB = &b;
- std::cout << "A: " << addrA << std::endl;
- std::cout << "B: " << addrB << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement