Monday, 24 December 2012

History of C


when u come into Java . U need the basics of C and C++ . so I myself writing this blog for my reference and your reference.

History of C:
    
     C is programming language developed in the  at AT and Tee Bell Laboratories of USA  in 1972's. It was designed and developed by    man named  Dennis Richte. C is so popular  because it reliable and  simple and easy to use, with the help of C language new languages are born known as C++, Java, C#  and many other languages
   
      Before C the Language Introduced called B ,which is Interpreter based and Read the Source code line by line and It's performance lacking with B. 

   So Dennis Ritchie developed language known as C in 1972’s. And it was famous as Mother Language of the computer system. It was based on compiler.

   Strong Point as compare to B 
                  
                    In C language Compiler (Translator) compiles the whole source code to Machine code where as interpreter read the source code line by line or step by step.

   
  Features of C  :
   
                   C is called a structured programming language because to solve a large problem, C programming language divides the individual small responsibilities to smaller modules called functions or procedures.


A sample of C Program
     
      #include <stdio.h>     // Preprocessor
        main ()                // main function
      {                      // opening the brackets
      Printf(“Hello”);
       }                      // close the brackets. 
    Advantages:

         1. c is a small ,flexible,efficient and powerful programming language.
         2.LINUX is written in C.
         3.Many languages borrows the syntax of c like c#,C++,Java.
         4.It has Libraries.
         5.C is standardized, making it more portable compare to other languages.

    Disadvantages :

        1.C is not supporting Multi-threading and oops Concepts.
        2.C was not able to automatic checking while comparing to other languages.
     

No comments:

Post a Comment