What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / ranjith
answer is 1
| Is This Answer Correct ? | 6 Yes | 0 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 polymorphism what is it for and how is it used?
How do you achieve runtime polymorphism?
Which language is not a true object oriented programming language?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What are oops functions?
Which is better struts or spring?
What does and I oop mean in text?
write a C++ program for booking using constructor and destructor.
What is inheritance write a program to show use of inheritance?
Is abstract thinking intelligence?
Why is there no multiple inheritance?
What is coupling in oop?
• What are the desirable attributes for memory managment?
Why it is called runtime polymorphism?