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

What is difference between data abstraction and encapsulation?

1067


Why do we need oop?

1172


class type to basic type conversion

2387


Can a destructor be called directly?

1060


What is meant by oops concept?

1028


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

2306


What is a superclass in oop?

1154


What is object and example?

1159


What is static modifier?

1195


How is class defined?

1120


What is polymorphism what is it for and how is it used?

1006


What is advantage of inheritance?

1165


• What are the desirable attributes for memory managment?

2211


what is graphics

2441


What is the point of polymorphism?

1025