What is a macro? And how is a macro same as a template?

Answer Posted / poonam

Would you please elaborate your answer... This question was
posted by me. I want to know the answer in c++ point of veiw.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use class?

638


What is polymorphism and its types?

601


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1460


Can private class be inherited?

622


What is class encapsulation?

605






What is the fundamental idea of oop?

638


Why do we use inheritance?

630


Why multiple inheritance is not possible?

605


What is a superclass in oop?

672


What is abstraction example?

625


What is the main purpose of inheritance law?

673


What is encapsulation with real life example?

573


What exactly is polymorphism?

612


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.

703


what's the basic's in dot net

1742