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 |
Differentiate between an array and a list?
What is std namespace in c++?
How to reduce a final size of executable?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What are function poinetrs? where are they used?
What is an inclusion guard?
What happens when the extern "c" char func (char*,waste) executes?
Can we delete this pointer in c++?
The "virtual" specifier in a member function enables which one of the following? a) Monmorphism b) Late binding c) Metamorphism d) Solomorphism e) Inheritance
What is input operator in c++?
How to write a program such that it will delete itself after exectution?