what is the main difference between c and c++?

Answers were Sorted based on User's Feedback



what is the main difference between c and c++?..

Answer / gilbert

C is low level mostly. The idea behind C was to create a
language that was close enough to the hardware so that you
can maximize efficientcy but far enough away from the
hardware so that it was easier to program in that say
assembly. C++ is a high level multiparadigm general purpose
programming language that supports object orientation it is
not an object oriented programming language because an
object oriented programming language forces you to use
object oriented programming like Java or C# in those
languages everythings is an object but C++ not only shows
support for object oriented programming but for generic
programming, polymorphism, inheritance, encapsulation,
procedural programming and multiple inheritance, statically
typed, and free form as well.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / mht

in we hv 2 dfn vrible in strng f prgrm bt in c++
we dfn verblz ny whr n thr progrm whr we wan 2 use them

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / shaan

in 1970's and 1980's C is a high level language,so For
complexity later C++ introduced by bjarne stroustrip at
1990, The Main Difference between c and C++ are ,C++
supports OOPS concept By sharing Global and local variable
from a class ,and C++ supports Class and object concept, So
to face real time Entity C extended to c++ .

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / pramit kumar mall

In c++ more security concert is taken by introduction of
>private class
>public class
>protected class
where as in c it was not found

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / k.v.subrahmnyareddy

c is structure programing language, c++ is Objectoriented
programming language.

In c data security is not sufficient.

In c++ data security can be very much efficient to conept of
Encapsulation.

so, in real time industry environment data security is most
important.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / daphne

operator overloading is supported in c++
c does not support operator overloading

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / anusha

the main difference between c and c++ is portability

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / gobalsamy

C++ support operator overloading but c doesn't
support

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / vinodh

c does not have oops concept while c++ has it...

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / ankit

C DOES NOT PROVIDE DEFAULT ARGUMENT WHILE C++ PROVIDE
DEFAULT ARGUMENT.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?

3 Answers  


How can we use the preprocessor #if and #elseif.

2 Answers  


What are the OOPS concepts?

106 Answers   A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,


What is polymorphism in oops with example?

0 Answers  


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,






create a c++ program that will accepts 9 inputs using 3 by 3 array.

1 Answers  


c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess

1 Answers   HCL, TCS,


What is abstraction oop?

0 Answers  


What is multiple inheritance ?

17 Answers   Blue Star, C DAC, CDAC, Impetus, Ness Technologies, Softvision Solution,


which feature are not hold visual basic of oop?

0 Answers   Ignou,


what is SPL in c++.

1 Answers  


different types of castings

3 Answers   Siemens,


Categories