what is the main difference between c and c++?

Answer Posted / manju kumari

1. c is structured programming languages while c++ is
partially object oriented programming languages.

2. In c,main function could not return a value while in c++
,main function should return a value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use polymorphism?

579


What is static in oop?

591


What is the real time example of encapsulation?

599


Are polymorphisms mutations?

703


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1659






What is multilevel inheritance explain with example?

630


Why do we use oop?

606


what type of questions

1697


What are the 4 pillars of oop?

674


Why is oop useful?

602


What are the benefits of interface?

583


What is abstraction in oop with example?

646


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038


What is inheritance in oop?

604


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1460