What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / manish
output will be 1.
| Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
What is the types of inheritance?
What is destructor example?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is polymorphism what is it for and how is it used?
What is the example of polymorphism?
Write a program to reverse a string using recursive function?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is polymorphism explain?
What is abstraction in oop?
What is encapsulation in oop?
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 an example of genetic polymorphism?
What is abstract class in oops?
Why polymorphism is used in oops?
What is difference between polymorphism and inheritance?