How to detect where a variable is allocated (HEAP or STACK).
Anonymous
Value-Typed variables are stored in Stack (int, double, char, ...) whereas Reference-Typed variables (arrays, strings ...) are stored in the Heap.
Check out your Company Bowl for anonymous work chats.