what is the main difference between c and c++?
Answer Posted / javed farooque
c is a procedural /structured and modular language in which
program can broken into smaller parts.c++ is based on
object oriented & c++ is a support of c. so we can say
c++ = c + object oriented.
Here, ++ is the increment opertaor it is increment by 1.
c++ is the superset of c.
c does not support reusability of code and data hiding
concepts.
c++ support reuseability of code and use for data hiding.
copy right @2009
All right reserved Affiliated by govt of M.P
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can we create object of abstract class?
What is object in oops?
What is pointer in oop?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
2. Give the different notations for the class.\
what is the sylabus for priliminaries?
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.
Can a destructor be called directly?
What is new keyword in oops?
How to use CMutex, CSemaphore in VC++ MFC
write a program that takes input in digits and display the result in words from 1 to 1000
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is the renewal class?
What is encapsulation selenium?
What is abstraction in oops with example?