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 abstraction encapsulation?

1059


State what is encapsulation and friend function?

1190


Why is oop useful?

1030


What is pointer in oop?

968


How long to learn object oriented programming?

1025


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1902


What is polymorphism explain its types?

1098


What is byval and byref? What are differences between them?

2149


What is overloading in oops?

1091


What is data binding in oops?

1023


Why is static class not inherited?

1040


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2547


Why is polymorphism used?

995


What is the problem with multiple inheritance?

1094


what is different between oops and c++

2455