What is Difference between c and c++?

Untitled Forums Assignment Help What is Difference between c and c++?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1646
    Aakanksha
    Participant

    What is Difference between c and c++?

    #10207
    ahwriter
    Participant

    both C and C++ are programming languages. C++ is termed as superset of C.

    C is a powerful and elegent language.almost all c PROGRAMS ARE ALSO c++ PROGRAMS.

    in C, it facilitates–” topdown structured design” as against C++ provides bottom-up object-oriented design.

    the C language is built from functions (like printf)that execute different tasks.

    in c++, it is a object-oriented system. objects are considered to be “a partitioned area of computer memory” that stores data and set of operations that can access that data.

    the three most important facilities that c++ adds on to are classes, function overloading and operator overloading.

    #10208
    Aakanksha
    Participant

    C++ take advantage over following points:

    1. Reusability (Inheritance).

    2. Maintainability (Because of Data encapsulation code looks more readable).

    3. Optimizations(Usage of Templates to increase the development time).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.