in reply to Newbie programming questions

These are more C programming questions, so asking in a C/C++ programmer forum/newsgroup will probably yield better answers :-)

Anyway, here is a link that answers some of your questions:

http://www.le.ac.uk/cc/tutorials/c/ccccrun.html