Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main() {
- try {
- int arr[] = {1, 2, 3};
- A* a;
- C* c = new C();
- cout << "Size of C object pointer: " << sizeof(c) << endl;
- //delete c;
- B b(arr);
- }
- catch (exception e) {
- cout << "EXCEPTION SUCK";
- throw runtime_error("error");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement