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 |
How does code-bloating occur in c++?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Why do we use using namespace std in c++?
What is size of a empty class?
7 Answers Microsoft, Tata Elxsi, Wipro,
What are the two main components of c++?
What are the different operators in C++?
How much is size of struct having 1 char & 1 integer?
Live example for static function?
Explain the uses oof nested class?
What is a dynamic binding in c++?
Describe the setting up of my member functions to avoid overriding by the derived class?
What do the keywords volatile and mean mutable?