Which is the parameter that is added to every non-static
member function when it is called?
Answer Posted / manish kumar
(this) pointer is added.
this pointer contains the address of the object through
which function is called.
this->data member will give the data of the object.
| Is This Answer Correct ? | 49 Yes | 4 No |
Post New Answer View All Answers
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is variable example?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
write knight tour problem which is present in datastructure
How do you achieve runtime polymorphism?
What is encapsulation c#?
Why is polymorphism needed?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is object and example?
What is polymorphism and its types?
What is polymorphism programming?
What is balance factor?
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.
Why is destructor used?
What are the components of marker interface?