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 / raghav ji

the main deference between c and c++ is that c is a
procedural language having no security while c++ is the
object oreanted programing language having more security
power and concepts like
1. bottom up approach
2. classes
3. objects
4. overload
5. inheritens etc...

Is This Answer Correct ?    0 Yes 0 No

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

Answer / gfdsg

wefewwe fwefWWGEEW DFF DFGDFGFD

Is This Answer Correct ?    0 Yes 0 No

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

Answer / krishnendu dey

1.C doesn't support function overloading but c++ does
2.c++ has a features of NAMESPACE which C doesn't have.
3.In C++ we can use function inside structure whereas C
doesn't permit this.
4 c- function driven
C++- object driven
5. C uses top down approach
C++ uses bottom down aproach

Is This Answer Correct ?    0 Yes 0 No

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

Answer / g.santhoshini

In c there is a limit for length of identifier should not
preceeded more than 8 characters where as in c++ there is no
limit for length of identifiers.
and in c the file is saved with the extension .c ,in c++ the
file extension is .cpp.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / solaimuthu manikandan

1. C follows the procedural programming paradigm while C++
is a multi-paradigm language(procedural as well as object
oriented)

In case of C, importance is given to the steps or
procedure of the program while C++ focuses on the data
rather than the process.
Also, it is easier to implement/edit the code in case of
C++ for the same reason.


2. In case of C, the data is not secured while the data is
secured(hidden) in C++

This difference is due to specific OOP features like
Data Hiding which are not present in C.

3. C++ supports function overloading while C does not

4. We can use functions inside structures in C++ but not in

Is This Answer Correct ?    0 Yes 0 No

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

Answer / m.mohanraj

The main difference between c&c++ is the c++ is only advanced version of c.so these two programming language contains some difference only.In the c++ we are using object oriented technique.But in the c the object oriented technique is not there.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sagar dubey

in C++ language we are having the properties of encapsulation,polymorphism,data abstraction and inheritance which is not in the language C..

Is This Answer Correct ?    0 Yes 0 No

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

Answer / fdsgf

The main difference between c and c++ is that " C is a
structured programming language while C++ is an object
programming language and also we have templates in C++ that
is not the case in C
fdgd

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sathish kumar

c does not support oops concept like
inheretence,polymorphism,binding.....etc
c++ support oops concept.....

Is This Answer Correct ?    0 Yes 0 No

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

Answer / nizam

c is not powerful language and c++ is powerful language

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

how can we design a magic square in c++?or suggest me the basic idea of it.

3 Answers  


what are the disadvantages of C++?

25 Answers   ATS, Infosys, UNI, Wipro,


What is variable example?

0 Answers  


What is class in oop with example?

0 Answers  


Get me an image implementation program.

0 Answers  






what is object slicing?

9 Answers   L&T, Wipro,


What is methods in oop?

0 Answers  


In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that

6 Answers  


can you give the dynamic polymorphism types?

2 Answers   Wipro,


Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)

4 Answers  


What are the different forms of polymorphism??

8 Answers   Mantaq, NUC, PCS,


Which is not an object oriented programming language?

0 Answers  


Categories