When is it necessary to use member-wise initialization
list in C++?
Answer Posted / suresh
const and reference members may only be initialized
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
What are different oops concepts?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Can we create object of abstract class?
how to get the oracle certification? send me the answer
When not to use object oriented programming?
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?
What is the main feature of oop?
Why do we use oops?
What is overloading in oops?
Give two or more real cenario of virtual function and vertual object
What is destructor in oop?
What is constructor in oop?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What are the two different types of polymorphism?
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.