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 / sneha joshi.

There will be a compilation error as we are using "(" after insertion operator "<<". We are not assigning this value to any boolean typr variable, so we cant get answer as 0 or 1.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats is abstraction in oops?

1022


explain sub-type and sub class? atleast u have differ it into 4 points?

2255


Explain virtual inheritance?

1126


Is enum a class?

1003


Can destructor be overloaded?

978


Why do while loop is used?

974


What does it mean when someone says I oop?

1016


What is and I oop mean?

1107


What is multilevel inheritance explain with example?

1089


write a programe to calculate the simple intrest and compund intrest using by function overlading

2130


Get me an image implementation program.

1939


How oops is better than procedural?

1026


What is class and object with example?

1058


Which language is pure oop?

941


What is the use of oops?

994