Compiling a C code for exploitation, such as adding users

Compiling Code

Cross Compiling Exploits:

gcc -m32 -o output32 hello.c (32 bit)

gcc -m64 -o output hello.c (64 bit)