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 the purpose of void in c?

619


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

615


What are the types of data types and explain?

673


Which control loop is recommended if you have to execute set of statements for fixed number of times?

811


What is a structure in c language. how to initialise a structure in c?

609






What is the difference between %d and %i?

596


Why does not c have an exponentiation operator?

629


What is a structure member in c?

551


what is the basis for selection of arrays or pointers as data structure in a program

3789


What is null pointer constant?

596


What are nested functions in c?

567


Explain how can a program be made to print the name of a source file where an error occurs?

691


Which is more efficient, a switch statement or an if else chain?

584


What is the meaning of c in c language?

597


Is boolean a datatype in c?

548