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 |
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
Explain queue. How it can be implemented?
What is extern c++?
What are shallow and deep copy?
What is the purpose of the noexcept keyword?
What does it mean to declare a member function as static?
How do you differentiate between overloading the prefix and postfix increments?
Do you know the use of vtable?
What do you mean by early binding?
Can static member variables be private?
How many namespaces are there in c++?
Explain about Garbage Collector?