What is difference between #define and const?
Answer Posted / sarath
#define is the macro,const is modifier forexample const is
used in theb program we can not modify the data
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What do you mean by abstraction?
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 object in oops?
What is overloading in oop?
What is advantage of inheritance?
Templates mean
Why it is called runtime polymorphism?
Why do we use encapsulation in oops?
What are the three main types of variables?
What is the oops and benefits of oops programming?
How to use CMutex, CSemaphore in VC++ MFC
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.
What is a class and object?
What is encapsulation c#?
What does <> mean pseudocode?