what is the main difference between c and c++?
Answer Posted / akash
c is a procedure programing language
c ++ is a object oriented language
c++ support various features such as data hiding encapsulation, templates, overloading etc dis features are not there in c.
in c focus is given on function where as in c++ focus are given to data.
maintains of large softwares are not possible in c
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is class and example?
to find out the minimum of two integer number of two different classes using friend function
What is the importance of oop?
What are the features of oop?
What do you mean by variable?
What is cohesion in oop?
how to get the oracle certification? send me the answer
What is overriding vs overloading?
Is this job good for future? can do this job post grduate student?
What is data binding in oops?
What are the important components of cohesion?
What is super in oop?
What is multilevel inheritance in oop?
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 oops is better than procedural?