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

class type to basic type conversion

2472


What is overriding vs overloading?

1112


write a program to find 2^n+1 ?

2128


Can we have inheritance without polymorphism?

1079


What is oops with example?

1104


What are the 4 pillars of oop?

1206


Whats is abstraction in oops?

1143


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2253


Can static class have constructor?

1085


What is this pointer in oop?

1128


What is polymorphism and types?

1163


What is the main purpose of inheritance law?

1251


What is the renewal class?

2823


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

6738


What does enum stand for?

1188