what is the main difference between c and c++?
Answer Posted / aalya malhotra
1.C is an procedural language whereas C++ is an object
oriented language.
2.C emphasis more on functions and C++ emphasis more on
data.
3.C is used to design medium sized programs whereas C++is
used to design large size programs .
4.C uses header files like <stdio.h>and <conio.h> where as
C++ uses <iostream.h>,<conio.h>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use class in oops?
Write a program to reverse a string using recursive function?
What is advantage of inheritance?
Is enum a class?
What is the purpose of polymorphism?
Can main method override?
What do you mean by Encapsulation?
What is data binding in oops?
What is super in oop?
what is the sylabus for priliminaries?
What are the benefits of interface?
When not to use object oriented programming?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Write a program to sort the number with different sorts in one program ??
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?