what is the main difference between c and c++?
Answer Posted / jaimin patel
Topic for c:-
1.c is the top down approch.
2.c is the procedure oriented programming language.
3.in c we use as input funtion printf & scanf.
4.c dose not have a class and object.
5.in c we can not overload the function and operatore.
TOPIC FOR C++:-
1.C++ is the bottom to up approch language.
2.c++ is object oriented language.
3.in c++ we use as input function c0ut<< & cin>>.
4.c++ have a class and object.
5.in c++ we can overload a function and object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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.
How to call a non virtual function in the derived class by using base class pointer
Write a program to reverse a string using recursive function?
What is polymorphism programming?
Write a c++ program to display pass and fail for three student using static member function
What is the difference between static polymorphism and dynamic polymorphism?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is property in oops?
How does polymorphism work?
Why do we use oops?
What does and I oop mean?
What is the point of oop?
Whats oop mean?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is static in oop?