what is the difference between c and c++?

Answer Posted / rajasekhar

cpp is an object oriented programming language

c is a procedural oriented programming language

cpp is more flexible to use in real time environment

c is not flexible

cpp structures can allow functions where as c doesnt allow functions in its structures

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of endless loops?

615


What are qualifiers?

613


Explain the advantages of using macro in c language?

572


What will the preprocessor do for a program?

584


What is substring in c?

634






What are the similarities between c and c++?

593


Does c have enums?

596


How can you invoke another program from within a C program?

609


When can you use a pointer with a function?

562


how logic is used

1493


What’s the special use of UNIONS?

655


What are volatile variables in c?

513


What do you mean by a local block?

625


What is variable in c example?

590


Is malloc memset faster than calloc?

607