Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- int main(void)
- {
- int *myint;
- myint = new int;
- *myint = 5;
- std::cout << *myint << std::endl;
- free(myint);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement