dinamically allocate memory on stack code example Example: stack memory allocation c++ memory allocation