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

the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

602


Why is sprintf unsafe?

613


what is bit rate & baud rate? plz give wave forms

1512


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2154


How can I make sure that my program is the only one accessing a file?

674






Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

663


What is strcpy() function?

652


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

725


How many data structures are there in c?

612


Explain how can you check to see whether a symbol is defined?

655


What is pointer and structure in c?

563


When should a far pointer be used?

600


What are the 5 data types?

596


Can we add pointers together?

612


In which header file is the null macro defined?

850