what is the main difference between c and c++?

Answer Posted / ravi.v

c has only 32 keywords. but c++ has 52 keywords

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in oops?

596


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1652


What is the renewal class?

2161


Write a c++ program to display pass and fail for three student using static member function

2810


What do you mean by abstraction?

609






What is advantage of inheritance?

687


what is the sylabus for priliminaries?

1683


How do you achieve polymorphism?

609


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1652


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.

626


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1938


Explain the advantages of inheritance.

670


what's the basic's in dot net

1734


What is oops concept with example?

574


What is data binding in oops?

582