what is the difference between c and c++?

Answer Posted / rajasekhar

In c the header files get included along with the users code ultimately increases the size of the program..

where as in cpp the header files are do not include , but the objects navigates between library files and users code

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #include stdio h?

786


When was c language developed?

798


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

778


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

833


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3816






Find MAXIMUM of three distinct integers using a single C statement

716


Differentiate between #include<...> and #include '...'

706


why we wont use '&' sing in aceesing the string using scanf

1904


Where are the auto variables stored?

731


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1461


Write a program to find factorial of a number using recursive function.

740


Place the #include statement must be written in the program?

656


What is gets() function?

762


What does the format %10.2 mean when included in a printf statement?

1206


Is there a built-in function in C that can be used for sorting data?

860