What is C/C++

Posted on at


 

What Is C

      C is a very powerful computer programming language.It is very flexible high level programming language use almost in all field of computer application.It is a very high an very power full tool use the basic of C almost in all programming language.C is very user friendly language its very easy to understand.

Advantages of C

  1.    C is object oriented programming features (OOPS).
  2.    No run time checking available.
  3.    C language can split in to number of modules.
  4.    C is middle level language.It have both the best feature of high level and low level languages.
  5.    In C we can develop all kind of applications like related to business oriented application,related math and graphics etc
  6.    C can the compile and execute in all operating system
  7.    very efficient programming language
  8.    very power full programming language use for data structure and designing system softwares,

     Weakness of C

  1.    C have no namespace feature
  2.    C have no run time features
  3.    C have not enough library function
  4.    Case sensitive 
  5.    C have not have own documents where the defined in detail ,due to this difficult for author.
  6.    C does not have any concept of destructors and constructors.

History Of C

      The C language first developed in 1970 by Dennis M.In 1960 lot of employs in Bell Labs the head is Ritchie worked together on project whos named multics. The main goal of this project is to make such kind of operating system that can use thousand of user in number of computing system.In 1969 the Bell labs stop to work on this project because they thought the project do not produce economically usefull system.The Dennis Ritchies and thompson started other project and work together

   They all worked together and done very hard work.Thompson started to develop new system file he also wrote lot of system file ,they all taken three features from Bell labs.As a result new system developed which is called unix.It is also a programming language and interrupter of B language developed my thompson in 1969-70 derived from Dennis Ritchie.In those days the code are written in assembly code.but eh language draw back was that it don,t know the data type.To make more power fulll language Dennie and Ritchie developed new programming language called C in 1971-73.

  Ritchie and kernighan written first book thats called Ist edition of C programming language.In 1983 the ANSI formed the committees to develop the modern definition of c programming language.The ANSI change little bit the original design later it adopted the ISO(International standard organization).

 

Difference between C and C++

  1.  Data not secure in C while secure in C++
  2. C have object oriented features while C++ are complete object oriented.
  3. C low level language while C++ is middle level language.
  4. C give importance to be step by step while C++ focus on data rather the process
  5. C function building block while C++ is object building blocks
  6. In C structure contain contain while in C++ function can use inside the structure.
  7. C have no name space while C++ have
  8. C dont allow to use reference variable while in C++ you can use
  9. For input and out put C use scanf and printf while C++ use cin>> and cout>>
  10. C dont support exception handling while C++ can support


160