what is the main difference between c and c++?
Answer Posted / gopi challuri
c is structured oriented language nd c++ is object oriented
language.
And one more main difference is in c++ v introduced Classes
and objects a new way after structures in c.
and in cpp v can code the program by divide and rule policy
but not in c and v hav to write everything in main and in
cpp v hae oops concept which can run the progran more
efficiently.
but main advantage of c is till now every one using c
language coding in operating systems like windows and in
linux\.
so for normal use cpp is best than c
but for he main coding purpose c in best /
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the advantage of oop over procedural language?
What is debug class?what is trace class? What differences are between them? With examples.
What is class in oop with example?
Who invented oop?
Is enum a class?
What is an interface in oop?
What is object in oop?
What is cohesion in oop?
What is class and object in oops?
What is oops concept with example?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
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?
What are the 5 oop principles?
What is the real life example of polymorphism?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?