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 |
What is the difference between the functions memmove() and memcpy()?
How can you create a virtual copy constructor?
Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.
what is the difference between overloading & overriding? give example.
If a header file is included twice by mistake in the program, will it give any error?
When can you tell that a memory leak will occur?
What is wrapper class in c++?
What is the difference between = and == in C?
20 Answers Christ University, Intel,
What do you mean by overhead in c++?
What is srand c++?
Why is main function important?
What is a namespace in c++?