What are the main differences between C and C++?
Answer / nashiinformaticssolutions
In terms of syntax, compilation, and basic memory, C and C++ are very similar. Nonetheless, the two languages differ in a few significant ways:
• While C++ is a multi-paradigm language that supports procedural programming and other programming philosophies, C is a procedural programming language.
• Unlike C++, C does not allow object-oriented programming principles like encapsulation and polymorphism.
• Namespace, reference variable functionality, operator overloading, and function overloading are among the new features that C++ provides.
Is This Answer Correct ? | 0 Yes | 0 No |
Explain the concept of dynamic allocation of memory?
Should a constructor be public or private?
What is volatile and pragma? When they are used?
Are php strings immutable?
What is the latest c++ version?
What is dynamic and static typing?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
Write a Program for find and replace a character in a string.
How would you use qsort() function to sort an array of structures?
Write bites in Turbo c++ Header ("Include") Files.
What is a base class?
What is the error in the code below and how should it be corrected?