what is the main difference between c and c++?
Answer Posted / vijay bhaskar(vbit).k
c language is a procedural language.it is also one of the
best language for designing of operating systems and
databases.but c language can not give the secure for
programs when compare to c++.
c contain functions and it can not overridden.
c language extension of c++.
c++ follows oops principles and give more security better
then c language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation in simple terms?
What is and I oop mean?
Why interface is used?
What is the types of inheritance?
What is meant by multiple inheritance?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Why do we use inheritance?
What is the real time example of encapsulation?
What is encapsulation and abstraction? How are they implemented in C++?
Where is pseudocode used?
what are the ways in which a constructors can be called?
What does enum stand for?
What is polymorphism and types?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What are the important components of cohesion?