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


Please Help Members By Posting Answers For Below Questions

write a programe to calculate the simple intrest and compund intrest using by function overlading

1670


What are the advantages of polymorphism?

577


What is oops and its features?

592


What is balance factor?

589


What does sksksk mean in text slang?

1541






What is multilevel inheritance?

727


Can private class be inherited?

622


What is the real time example of inheritance?

645


Can you explain polymorphism?

584


What is the oops and benefits of oops programming?

558


Why is polymorphism important in oop?

637


What is oops concept with example?

582


When not to use object oriented programming?

572


any one please tell me the purpose of operator overloading

1967


What is abstraction in oops with example?

778