VIDEO LINK: http://youtu.be/d9WhnIHQWWg
(Watch video for more information)

1.   Type in the following codes for displaying message using printf statements:

      #include <stdio.h>
         printf("Your Message Here!\n");
         return 0;

   " Among the lines in the program, only one -- the one that starts with "printf" does the work that produces the output. The other lines provide "house-keeping chores" common to C program. "

In compiling with GCC:
   Type in the Command Prompt: gcc -pedantic filename.c -o filename.exe
   filename.c refers to the saved C file. -o means output file and it specifies the name of the output. filename.exe refers to name of your   
  executable file.

About This Instructable




More by BASICON2k11:C PRPGRAMMING FOR BEGINNERS: Arithmetic Expressions C PROGRAMMING FOR BEGINNERS: Using Scanf statements C PROGRAMMING FOR BEGINNERS: Using Printf statement and Compiling GCC 
Add instructable to: