/* hello.c Started by Jeff Ondich on 4/1/97 Last modified 4/2/97 1. Compile this program like so: cc -Wall -o hello hello.c and run it. Remove the \n and try again. What is the \n? 2. What does the "-o hello" do? What happens if you leave it out? 3. What does the -Wall do? Go look at the manual page for cc (type "man cc" at the Unix prompt) to try to track it down. I strongly advise always using -Wall. 4. Try compiling hello.c without the #include and without -Wall. Now recompile it without the #include but with the -Wall. What's going on? 5. Do an ls -l to find out the size of the executable file "hello". Do "strip hello". How big is hello now? 6. Am I using bad style, or is that semi-colon necessary? 7. How do you do comments in C? What do you think happens if you put a comment inside a comment? Try it. */ #include void main( void ) { printf( "Hello, world\n" ); }