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

Answer Posted / chirag jobanputra

IN C,GLOBAL DECLARATION ISN'T POSSIBLE ANYWHERE BUT IN
C++,VARIABLES ARE DECLARED GLOBALLY.

Is This Answer Correct ?    21 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is for loop and its syntax?

598


What is abstract class in oop?

536


What is variable example?

599


Why is polymorphism important in oop?

637


What are different oops concepts?

578






What is difference between data abstraction and encapsulation?

619


What is the difference between a constructor and a destructor?

617


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3557


What is the purpose of enum?

584


what is the drawback of classical methods in oops?

2921


How long to learn object oriented programming?

566


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2009


What does I oop mean?

618


What is encapsulation example?

552


What is meant by multiple inheritance?

741