What are the advantages of C++ programming compared to C
programming?
Answer Posted / 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 View All Answers
If there are two catch statements, one for base and one for derived, which should come first?
What does the nocreate and noreplace flag ensure when they are used for opening a file?
What is setiosflags c++?
What is a responder chain?
What is the best ide for c++?
What is setf in c++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What is the difference between a declaration and a definition?
Should I learn c or c++ or c#?
What is the difference between map and hashmap in c++?
Explain how an exception handler is defined and invoked in a Program.
Write a program to add three numbers in C++ utilizing classes.
Why do we use setw in c++?
Why c++ is created?
What does #define mean in c++?