What are the advantages of C++ programming compared to C
programming?
Answers were Sorted based on User's Feedback
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 |
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 |
Explain the need for "Virtual Destructor"?
Implement stack operations with pointers with appropriate exception checks.
Implement strncpy
How the keyword struct is different from the keyword class in c++?
What is the copy-and-swap idiom?
Where can I run c++ program?
What is an adaptor class or Wrapper class?
How long does it take to get good at leetcode?
What is abstraction c++?
What is rvalue?
How does list r; differs from list r();?
What are class and object in C++?