What is Object Oriented programming.what is the difference
between C++ and C?
Answers were Sorted based on User's Feedback
Answer / samyukta
c is a procedural oriented lang & c++ is a oop lang
c can store upto 32 char where as c++ can store 0 to255 char
in c we won't have inheritance ,polymorphism,data hiding &
data abstraction concepts
Is This Answer Correct ? | 51 Yes | 7 No |
Answer / 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 |
Answer / shiv
all above given is bull shit , all that is just bookish
language ,
use both and feal the difference . you wont abe able to
judge minute differences unless and untill you have mastred
it .
till then rely on above answers.
Is This Answer Correct ? | 26 Yes | 12 No |
Answer / jai
C++ is oops becoz data structure is not scattared through
out the program.Data and member fucntion which operates on
data member are bind by a object.The functon which will
modify the particular data members of class are fixed.No
fucntion form outside will change it.In c, datastructure
are scattred through out the program and any fuction can
chnage their value and we have to trac that.In c++,data
member is bound to object and the member fucntion which
will change the data also bind by same object.
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / kalpana
object oriented programming (oop eg c++)is based on
object;whereas procedure oriented programming <pop eg c) is
a structured programming.pop concentrates more on functions
where as in oop more attention is given to the data rather
than functions.oop deals with realworld problems where as
pop doesnot model the realworld problems.
Is This Answer Correct ? | 14 Yes | 7 No |
Answer / sourav
c is a procedural oriented lang & c++ is a oop lang
c can store upto 32 char where as c++ can store 0 to255 char
in c we won't have inheritance ,polymorphism,data hiding &
data abstraction concepts
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.object
oriented programming (oop eg c++)is based on
object;whereas procedure oriented programming <pop eg c) is
a structured programming.pop concentrates more on functions
where as in oop more attention is given to the data rather
than functions.oop deals with realworld problems where as
pop doesnot model the realworld problems.
and in my opinion also , 4th one is the best answer.
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / rupesh
oop is mainly used in c++ and pop is used in c.
they are diff programming langauges.
Is This Answer Correct ? | 3 Yes | 11 No |
Answer / techmaniac
in c by default structure mem is private while in c++ is public
Is This Answer Correct ? | 3 Yes | 13 No |
Why is c++ still best?
How come you find out if a linked-list is a cycle or not?
What is time_t c++?
How many types of classes are there in c++?
Differentiate between a pointer and a reference with respect to c++.
How long will it take to learn programming?
Write a program to find the Fibonacci series recursively.
Define friend function.
Explain the static member function.
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?
Is nan a c++?
Can create new c++ operators?