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 |
Write a program to read two numbers from the keyboard and display the larger value on the screen
What is pass by value & reference.
Difference between function overloading and function overriding.
What is an algorithm (in terms of the STL/C++ standard library)?
Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }
When would you choose to return an error code rather than throw an exception?
What is conversion constructor in C++
When must you use a constructor initializer list?
Can we call a virtual function from a constructor?
Explain the difference between method overriding and method overloading in C++?
Discuss about iteration statements in C++ .
How to invoke a C function using a C++ program?