Key difference between C/C++ language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ruby17
    Member
    • Sep 2008
    • 56

    Key difference between C/C++ language

    C/C++ Difference's


    1. C is a procedural language whereas C++ is a non-procedural language.
    2. C gives importance to functions (methods) whereas C++ gives importance to both functions and data.
    3. C allows the data to flow around the functions freely whereas C++ wraps up the data and functions together, due to that datas were not allowed to flow around freely in C++. This is said to be Encapsulation in C++


    Other differences, ( actucally there is lot to mention......here are the two )

    1. C allows struct, union, and enum types to be declared in function prototypes, whereas C++ does not.

    2. A struct, union, or enum declaration in C++ declares an implicit typedef, while in C it does not
    [/SIZE]
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎