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 / sanish joseph

hey guys ans is 1.
coz (0==0)retuns 1as it is true;

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use inheritance in unity?

1062


What is the point of oop?

1160


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2120


Is enum a class?

1041


Who invented oop?

1116


Explain the advantages of inheritance.

1129


What is class and object with example?

1113


How do you answer polymorphism?

1046


What is polymorphism used for?

1053


What are the two different types of polymorphism?

1130


program for insertion ,deletion,sorting in double link list

2670


What is multilevel inheritance?

1188


How can you overcome the diamond problem in inheritance?

1172


What is the difference between encapsulation and polymorphism?

1089


When not to use object oriented programming?

1078