what is the main difference between c and c++?
Answer Posted / manjula
1.C TOP DOWN(RUN) APPROACH....
2.C++ BOTTOM UP(RUN) APPROACH...
3.C++ SUPPORT FUNCTION OVERLOADING & OPERATOR OVERLOADING..
4.C DOES NOT SUPPORT FUNCTION OVER LOADING,OPERATOR OVER
LOADING..
5.IN C VARIABLE ARE DECLARED IN DECLARATION PART.
6.IN C++ VARIABLES ARE DECLARED AND IN ANY WHERE IN
PROGRAM.ALSO USED IN DYNAMIC INITIALIZATION...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between abstraction and polymorphism?
What is difference between polymorphism and inheritance?
What is solid in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Which method cannot be overridden?
What is difference between oop and pop?
What is the real time example of inheritance?
Why do we use polymorphism in oops?
What is protected in oop?
What is meant by oops concept?
What is the point of polymorphism?
What is constructor overloading 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.
when to use 'mutable' keyword and when to use 'const cast' in c++
What is super in oop?