What are the advantages of C++ programming compared to C
programming?

Answers were Sorted based on User's Feedback



What are the advantages of C++ programming compared to C programming?..

Answer / geeta.e.sutar

AS COMPARE TO C PROGRAMMING C++ HAVE MORE ADVANTEGES;

BASICALLY C++ IS A HIGH LEVEL LANGUAGE,AND IT SUPPORTS ALL
FUCTIONS OF C,AND C++ SUPPORTS POLYMORPHISM,DATA
ENCAPSULATION,CLASSES AND OBJECTS.ITS A BOTTOM TO TOP
PROCEDURE.

Is This Answer Correct ?    16 Yes 1 No

What are the advantages of C++ programming compared to C programming?..

Answer / krishnachaitanya

c++ provides security to the data,c doesn't provide any
security to the data this is main advantage of c++ over than
c and c++ supports all concepts of c and it introduces
object oriented concepts like
objects,inheritance,polymorphism..etc.c++ programs are
useful for real-time purpose but c doesn't support.c++
introduces class concept.by using classes we can do
real-time projects.
c++ follows bottom-up approach but c follows top-down approach.

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More C++ General Interview Questions

In a function declaration what does extern means?

0 Answers   Flextronics,


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

0 Answers  


What can I use instead of namespace std?

0 Answers  


What is null pointer and void pointer and what is their use?

0 Answers  


write a C++ programming using for loop: * * * * * * * * * *

4 Answers   TCS,






How to create a pure virtual function?

1 Answers  


Which algorithm do you like the most? Why?

2 Answers   Google,


difference between macro and function?

3 Answers  


Define pure virtual function?

0 Answers  


Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

0 Answers   Maxobiz,


What is auto used for in c++?

0 Answers  


What does '\r' and '\b' mean? Please explain with example.

7 Answers  


Categories