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

How is polymorphism achieved?

1057


What is the main feature of oop?

1151


What is the example of polymorphism?

1132


what are the ways in which a constructors can be called?

2139


What is abstraction with example?

1114


What is multilevel inheritance explain with example?

1151


What is abstraction oop?

1099


Who invented oop?

1134


program for insertion ,deletion,sorting in double link list

2693


What do you mean by overloading?

1078


What is data binding in oops?

1101


Is html an oop?

1074


What is the fundamental idea of oop?

1141


Is enum a class?

1068


What is polymorphism used for?

1069