what is the main difference between c and c++?
Answer Posted / chandrahas dhiraj, delhi
1) C is procedure oriented programming while C++ is object
oriented programming.....
2) C++ is C programming + inheritence + dynamic linking...
3) After the increment The C became C++...
| Is This Answer Correct ? | 17 Yes | 28 No |
Post New Answer View All Answers
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Why is polymorphism used?
What does sksksk mean in text slang?
Where is pseudocode used?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is encapsulation in oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Prepare me a program for the animation of train
Is oop better than procedural?
What is the diamond problem in inheritance?
Why do we use polymorphism?
Why do we use inheritance?
How oops is better than procedural?