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

Answer Posted / perumalla.naveen kumar

in c after using the main function we can declare the variables.
in c++ before using the main function we can declare the variables.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static polymorphism and dynamic polymorphism?

587


What is abstraction encapsulation?

661


Why is polymorphism important in oop?

637


What is object and class in oops?

590


How to use CMutex, CSemaphore in VC++ MFC

4333






How oops is better than procedural?

591


What are functions in oop?

586


What is the benefit of oop?

570


What is destructor oops?

625


What is interface? When and where is it used?

1664


Why polymorphism is used in oops?

585


Why oops is important?

616


Why is polymorphism needed?

605


What does I oop mean?

618


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?

1395