Stack problem sample

The test_stack.cpp contains a sample of a problem can happen when you
return a address of local variable ( variable on stack )