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 / g.narsing

answer is 1 because (0==0)which is a true value
true=1

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between oop and pop?

1126


Is abstract thinking intelligence?

1003


What is encapsulation in oops?

974


What is the full form of oops?

1142


when to use 'mutable' keyword and when to use 'const cast' in c++

2124


What is abstract class in oop?

968


What is the difference between a mixin and inheritance?

949


What is an interface in oop?

997


What is an example of genetic polymorphism?

1137


What is multilevel inheritance explain with example?

1108


Can destructor be overloaded?

995


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

2087


What is encapsulation c#?

1032


write knight tour problem which is present in datastructure

2622


What is oops?what is its use in software engineering?

1001