what is cast operator?

Answer Posted / ramyagurrala

It provides a method for explicit conversion of the type of an object in a specific situation.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static class have constructor?

585


What is polymorphism and its types?

597


How do you achieve polymorphism?

617


Why we use classes in oop?

583


What is polymorphism and why is it important?

562






What is super in oop?

599


What are the components of marker interface?

602


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3838


why reinterpret cast is considered dangerous?

1903


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.

699


Write a c++ program to display pass and fail for three student using static member function

2816


Do you know about multiple inheritance?

641


What are oops functions?

583


What is object in oops?

615


What is abstract class in oop?

534