What does the code "cout<<(0==0);" print?




1) 0


2) 1


3) Compiler error: Lvalue required

Answer Posted / radha

it prints 1

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what type of question are asked in thoughtworks pair programming round ?

1768


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2768


what is graphics

2022


What does and I oop and sksksk mean?

663


What is polymorphism oop?

633






what's the basic's in dot net

1746


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2584


Why do pointers exist?

669


What is persistence in oop?

677


What is the difference between procedural programming and oops?

568


How oops is better than procedural?

599


How does polymorphism work?

643


What is a function in oop?

639


What is this pointer in oop?

565


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2042