what is the difference between c and c++?

Answer Posted / shwetha

c is a pop language, while cpp is an OOP language
c gives importance to procedures..
cpp give importance to the data...using objects, suitable for real worlds problems

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c have an equivalent to pascals with statement?

575


What is difference between arrays and pointers?

584


What are the types of pointers in c?

531


Explain what is wrong with this statement? Myname = ?robin?;

1027


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

667






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

736


Explain union. What are its advantages?

619


What is the difference between union and anonymous union?

836


Why header file is used in c?

577


In C language what is a 'dangling pointer'?

640


What is equivalent to ++i+++j?

644


How does sizeof know array size?

631


How can I split up a string into whitespace-separated fields?

572


When a c file is executed there are many files that are automatically opened what are they files?

594


Why c is a procedural language?

585