Peeyush Bishnoi - 2007-11-07

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