what is the main difference between c and c++?
Answer Posted / ashish kumar
string variable take four bytes in c++ .whereas in c string
variable takes 3 bytes
c++ use bottom up approach to solve a problem.and c uses top
down approach to solve the problem.
c breaks the big problem into sub problems by using
procedures and function and then solve that.c++ combine the
small problems and then make it to be a solution.
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
What is a class and object?
What does I oop mean?
How do you achieve polymorphism?
Is this job good for future? can do this job post grduate student?
What are oops methods?
Why multiple inheritance is not allowed?
What does it mean when someone says I oop?
What is abstraction and encapsulation?
What is the real time example of inheritance?
What is the types of inheritance?
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(); }
What is advantage of inheritance?
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?
How to use CMutex, CSemaphore in VC++ MFC
How do you explain polymorphism?