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

Answer Posted / bindu kango

c is a middle label language,while c++is a high label
language.c can't support all the function of c++ where as
c++ support all the function of c.

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 inheritance and how many types of inheritance?

622


Which language is pure oop?

551


What is abstraction example?

624


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.

633


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1419






Why is static class not inherited?

601


What is polymorphism in oops?

560


Why is abstraction used?

612


What is the fundamental idea of oop?

638


What is the real life example of polymorphism?

609


Is react oop?

612


What is cohesion in oop?

624


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.

701


What is the oops and benefits of oops programming?

556


What does I oop mean?

618