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 / ankesh kumar

Output of this question will be 1,
becoz on comparision(0==0) it will print the value true ie
1.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops and why we use oops?

1051


Why do we use oops?

1024


How do you explain polymorphism?

1080


What is polymorphism programming?

1133


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

2000


What is abstraction in oop?

1138


Write a program to sort the number with different sorts in one program ??

2375


How do you define social class?

1073


What is object in oop with example?

1249


What is a null tree?

1141


Why do we need polymorphism in c#?

1173


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1199


Can we define a class within the interface?

1045


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2139


Whats oop mean?

1054