I\'m trying to learn more about memory allocation, and so I wrote some test code below to see what would happen if I tried to allocate memory of a less size than what I need
it depends on the compiler and the os. On many, it eventually crashes. Definitely not recommended. Can potentially lead to buffer overflow as well.