Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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




1) 0


2) 1


3) Compiler error: Lvalue required

Answer Posted / sumeet sharma

the ans is 1 because '==' operator on equality returns '1'
for true and returns '0' for false or inequality.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2307


How do you define social class?

1054


write a program to find 2^n+1 ?

2051


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1616


What is this pointer in oop?

1055


What are the important components of cohesion?

1011


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

2098


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6672


What are the features of oop?

1150


Why do we use polymorphism in oops?

1023


What is overriding in oops?

1098


What is oops and its features?

1058


what is graphics

2444


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4133


Can private class be inherited?

1154