whats the difference between c and c++

Answer Posted / vishi

in c++ we can do nesting,inheritance which is not possible
in c.objects and classes are present in c++ not in c.

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main feature of oop?

618


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.

693


What is super in oop?

595


write a C++ program for booking using constructor and destructor.

2042


What is encapsulation with example?

576






What are the 5 oop principles?

598


What is polymorphism programming?

601


Why we use classes in oop?

575


What is the benefit of oop?

570


Can we create object of interface?

601


What is overloading in oop?

572


What are the benefits of interface?

577


Can we define a class within the interface?

551


What does <> mean pseudocode?

620


Can you name some types of inheritance?

639