Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

0 Answers  


Have you ever interfaced with a database?

2 Answers   IBM,


Which keyword is written to use a variable declared in one class in the other class?

5 Answers   TCS,


what is the difference between ERROR and EXCEPTION?

14 Answers   NIIT, nvidia,


to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123

2 Answers  


How do you achieve runtime polymorphism?

0 Answers  


where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?

2 Answers   Infosys, Microsoft,


143.what is oops principles?

10 Answers  


What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...

2 Answers  


what is the difference between javap and jad utility

1 Answers   Wipro,


Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.

2 Answers  


Can destructor be overloaded?

0 Answers  


Categories