Monday, September 16, 2013

A Very Simple C Program

Now lets take a look  at a very small and simple C program.
Compare this to the structure we have discussed before so that it will be easier to understand , as all C programs will follow the same structure.
#include <stdio.h>              // This is the header of the program
void main ()                       // The main function of the program
{
printf ("Hello World");      /*A simple inbuilt function to print things onto the screen. */
}

2 comments:

  1. great job da carry on it is really nice and usefull to learn how to understand programming in computers view........

    ReplyDelete