What is Object Oriented programming.what is the difference
between C++ and C?

Answer Posted / yashwant

object oriented prog. introduces the concept of object &
class.In object oriented lang. data member can be made
public, private, & protected. eg:- c++,java, etc.
c++ is advanced form of c. In one
hand c is procedure laugauge where as on other side c is
object oriented. we have some additional keywords in c than
c++.ex:-new etc.c++ also allows 256 char to store.

Is This Answer Correct ?    28 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is swift better than c++?

530


what kind of projects are suitable for c and c++

613


What data encapsulation is in c++?

587


What does new do in c++?

627


What is c++ mutable?

696






Define Virtual function in C++.

616


What is pointer in c++ with example?

510


How is c++ different from java?

555


Why can’t you call invariants() as the first line of your constructor?

547


What is & in c++ function?

580


What is a base class?

595


What are advantages of c++?

550


State the difference between pre and post increment/decrement operations.

599


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

530


What is the extraction operator and what does it do?

604