Warm-up assignment 3

Write a little program to figure out how much memory (in bytes) the system lets you allocate. Your program should print out the number of bytes it could allocate before malloc failed.

Play around by compiling with -m64 and see whether the result changes.

Watch out for: overflows.