what is the main difference between c and c++?
Answer Posted / rajiv vaddi
c++ includes the concepts of oops like class,
inheritance,polymorphism,encapsulation,data obstraction etc...
these are not present in c programming language.
this will reduce the complexity of the program , while these
features are not present in c programming .
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is a class and object?
What does no cap mean?
What is cohesion in oop?
why reinterpret cast is considered dangerous?
What is oops in simple words?
What is difference between inheritance and polymorphism?
How many human genes are polymorphic?
What is inheritance and how many types of inheritance?
What is multilevel inheritance?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
How do you define social class?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is the problem with multiple inheritance?
Get me a number puzzle game-program