Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2020
    Posts
    59

    Difference between C and C++. Windows Language

    As we know both C and C++ are programming languages and used for application development. The main difference between both these languages is C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object-oriented programming languages.

    The following are the important differences between C and C++.

    Sr. No. Key C C++
    1 Introduction C was developed by Dennis Ritchie in around 1969 at AT&T Bell Labs. C++ was developed by Bjarne Stroustrup in 1979.
    2 Language Type As mentioned before C is procedural programming. On the other hand, C++ supports both procedural and object-oriented programming paradigms.
    3 OOPs feature Support As C does not support the OOPs concept so it has no support for polymorphism, encapsulation, and inheritance. C++ has support for polymorphism, encapsulation, and inheritance as it is being an object-oriented programming language
    4 Data Security As C does not support encapsulation so data behave as a free entity and can be manipulated by outside code. On another hand in the case of C++ encapsulation hides the data to ensure that data structures and operators are used as intended.
    5 Driven type C in general known as function-driven language. On the other hand, C++ is known as object driven language.
    6 Feature supported C does not support function and operator overloading also do not have namespace feature and reference variable functionality. On the other hand, C++ supports both function and operator overloading also have namespace feature and reference variable functionality.

  2. #2
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,517
    The main difference between both these languages is C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object-oriented programming languages.

  3. #3
    Senior Member
    Join Date
    Jun 2020
    Location
    united kingdom
    Posts
    99
    C is a Procedural Oriented language, whereas C++ is an Object-Oriented Programming language. C supports only Pointers whereas C++ supports both pointers and references. C does not allow you to use function overloading whereas C++ allows you to use function overloading.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.