Answer Posted / paul
For input streams, fflush() discards any buffered data that has been fetched from the underlying file, but has not been by the application.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
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 multilevel inheritance in oop?
Advantage and disadvantage of routing in telecom sector
any one please tell me the purpose of operator overloading
What is pure oop?
What is class and example?
What is destructor in oop?
Can bst contain duplicates?
What are the 4 pillars of oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Why polymorphism is used in oops?
What is difference between data abstraction and encapsulation?
What are benefits of oop?
What is destructor example?