Expo on Stack buffers,func pointers,mem allocation and environment variables (in bash)