what are difference between c and c++?

Answer Posted / krishnaveni

In C, emphasis is given to code rather than data. That is,
Code controlling access to data".
In C++, emphasis is given to data. That is, "Data
controlling access to code"

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do the header files usually contains?

636


Describe protected access specifiers?

679


How does java differ from c and c++?

546


How can we read/write Structures from/to data files?

621


Is c++ platform dependent?

637






What does flush do?

563


You run a shell on unix system. How would you tell which shell are you running?

663


Explain the difference between realloc() and free() in c++?

540


Which software is best for coding?

576


How a macro differs from a template?

638


What is a responder chain?

578


What are the uses of c++ in the real world?

566


What is polymorphism & list its types in c++?

626


What is c++ stringstream?

611


How to implement is-a and has-a class relationships?

591