whats the difference between c and c++

Answers were Sorted based on User's Feedback



whats the difference between c and c++..

Answer / vivek

1>c is an procedural language and c++ is an object oriented.
2>c uses a TOP DOWN approach and c++ BOTTOM UP.
3>c++ introduces the idea of Data hiding using class..shere
in c there is no such facility for that purpose
4>c++ introduce the concept of the message passing with that
objects can communicate.
5>c++ has the inheritence, using it we can reuse our code.
6>Using polymorphism of c++ we can achieve the overloading
of operator and functions, but it is not possible in c.

there may be more difference on this but these are the main..

Is This Answer Correct ?    19 Yes 0 No

whats the difference between c and c++..

Answer / vivek kumar kanojia

C++ provides data hiding concept,using class and provide
facility for the data abstraction without showing background
details,whereas C does not support it.
C++ introduce the reusibility of code by inheritance but in
C it not avialable...

Is This Answer Correct ?    18 Yes 1 No

whats the difference between c and c++..

Answer / vishi

in c++ we can do nesting,inheritance which is not possible
in c.objects and classes are present in c++ not in c.

Is This Answer Correct ?    18 Yes 3 No

whats the difference between c and c++..

Answer / siva

so many we can say but the main difference is
C is structured oriented where as
C++ is object oreiented

Is This Answer Correct ?    11 Yes 1 No

whats the difference between c and c++..

Answer / mosin

c is structer oriented language.
c++ is object oriented language.

Is This Answer Correct ?    9 Yes 0 No

whats the difference between c and c++..

Answer / anjana

DIFFERENCE BETWEEN C AND C++
C c++
*STRUCTURED ORIENTED *OBJECT ORIENTED PROGRAMMING.
PROGRAMMING.
*RETURN TYPE IS NOT *RETURN TYPE IS MUST IN C++.
NEEDED.
*WE DIDN'T USE CLASS *WE ARE USING CLASS CONCEPT.
CONCEPT IN C.
*DATA HIDING IS NOT *DATA HIDING IS POSSIBLE.
POSSIBLE IN C.
*C IS A TOP DOWN APPROACH. *C++ IS A BOTTOM APPROACH.

Is This Answer Correct ?    8 Yes 0 No

whats the difference between c and c++..

Answer / shweta kapatkar

c is the structured oriented language &
c++ is the object oriented language
this is the main difference in c & c++ other than
1.c uses a TOP DOWN approach and c++ BOTTOM UP approach
2.In c++ we can do nesting,inheritance which is not
possible in c. & many more

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the difference between encapsulation and polymorphism?

0 Answers  


What is multilevel inheritance in oop?

0 Answers  


How to Increment the value of the empid E001 for each and every employee by using the programe?

1 Answers   Accenture,


What is difference between polymorphism and inheritance?

0 Answers  


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

0 Answers  






What is the main difference between C++ and Java

11 Answers   TCS,


Program to read a comment string

1 Answers   IBM,


why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??

1 Answers  


what is multithreading in c++ , what is difference between multithreading and singlethreading.

4 Answers  


Why do we use inheritance?

0 Answers  


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

0 Answers   DELL,


Can java compiler skips any statement during compilation time?

0 Answers  


Categories