Dynamic Cast fails on stack variables but not heap, why?
3177
What is object slicing?
139592
What exactly is a type cast in C/C++?
16184
When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used?
137018
Weirdness in Equated Java Arrays: References vs. Pointers
112035
How come a non-const reference cannot bind to a temporary object?
139226
does valueType.ToString() does a cast on the valueType?
88877
What is the difference between dynamic and static polymorphism in Java?
31737
Why aren't static data members allowed in local classes?
33726
Regular cast vs. static_cast vs. dynamic_cast
34560
Calling delete on variable allocated on the stack
44331
What is the behavior of "delete" with stack objects?
124593
Passing directly an array initializer to a method parameter doesn't work
113622
Why does a large local array crash my program, but a global one doesn't?
69622
Why does Java uses heap for memory allocation?
116488
Dynamic memory access only works inside function
106745
Generics: casting and value types, why is this illegal?
7617
Do I cast the result of malloc?