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...

when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none

Answer Posted / singh

if block will be evaluated as true only if x=1.
because for first comparision x==x it returns 1.
then it again compares with x==x ie,x==1.
-it will return true only if x=1;

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

1254


Tell me when would you use a pointer to a function?

1045


What is int main () in c?

1070


What is the most efficient way to count the number of bits which are set in an integer?

1036


if p is a string contained in a string?

1832


What will be your course of action for a push operation?

1097


difference between Low, Middle, High Level languages in c ?

2070


What do you mean by a local block?

1072


write a c program in such a way that if we enter the today date the output should be next day's date.

2182


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5936


Is it possible to have a function as a parameter in another function?

1062


Explain how are 16- and 32-bit numbers stored?

1246


What is the 'named constructor idiom'?

1071


What is the difference between union and structure in c?

1155


Explain how do you override a defined macro?

1054