Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int* a;
- int* b;
- a = (int*)calloc(1, sizeof(int));
- b = (int*)calloc(5, sizeof(int));
- cout << sizeof(a) << endl;
- cout << sizeof(b) << endl;
- cout << sizeof(*a) << endl;
- cout << sizeof(*b) << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement