Explain the difference between C and C++.
The programming language C, has structural programming data types where C++ has object oriented programming structures such as class-object, with features as polymorphism, Inheritance, Data abstraction and protection that are not available in C.C++ is an extension of C but cannot be seen the differences between two.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between malloc, calloc and realloc?
what is friend function in C++?
What Is A Default Constructor in C++ ?
Difference between function overloading and function overriding.
Write a C++ Program to Display Number (Entered by the User).
How to generate random numbers in C++ with a range?
What is a virtual function in C++?
Write a C++ Program to find Square Root of a number using sqrt() function.
explain the term 'resource acquisition is initialization'?
Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }
What are the different scope C++ provide ?
What is the purpose of a constructor? Destructor?