Wednesday, 26 February 2014

A Simple C Program

A Simple C Program

                  Every C program must have one special function main (). This is the point where execution begins when the program is running. We will see later that this does not have to be the first statement in the program, but it must exist as the entry point. The group of   statements defining the main () enclosed in a pair of braces ({}) are executed sequentially. Each expression statement must end with a semicolon.  The closing brace of the main function signals the end of the program. The main function can be located anywhere in the program but the general practice is to place it as the first function.
Here is an elementary C program.

Saturday, 22 February 2014

Introduction To C Programming Language



Introduction To C Programming Language
                      The C language was invented at Bell Labs by Dennis Ritchie in 1972 to allow the writing of the UNIX operating system, then developed by Ken Thompson and Dennis Ritchie.
                      The UNIX operating system, born in the late 1960s - early 1970s, was written directly in assembly language for the machines which it was intended. born in the late 1960s - early 1970s, was written directly in assembly language for the machines which it was intended. If the assembly language for writing such a system, it was nevertheless not easy to use. Such language is in fact a particular type of processor, which makes the whole system should be rewritten to make it work on a new architecture. This is its main creator, Ken Thompson, wanted to use a language more quickly evolved to rewrite UNIX.

inttoduction to C



Top of Form
          







C Programming
               What is a programming language?--Human beings need language to communicate between them. Similarly to communicate with computers we need a programming language. All the events in life can be communicated to computers with the help of programming language. C is the basic of all programming language. Before the introduction of C we had only Machine level languages. C is just like any other communication Language.