I have following queries related to C++ memory Allocation & overriding.
1. How to prevent memory allocation for a class from a HEAP.
2. How to prevent memory allocation for a class from a STACK.
3. How to prevent to override the method in derived class.
Please give detailed explaination with code example
Thankyou ,
Regards
Peeyush
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All
I have following queries related to C++ memory Allocation & overriding.
1. How to prevent memory allocation for a class from a HEAP.
2. How to prevent memory allocation for a class from a STACK.
3. How to prevent to override the method in derived class.
Please give detailed explaination with code example
Thankyou ,
Regards
Peeyush