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

What is auto keyword in c?

1219


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3933


Explain what’s a signal? Explain what do I use signals for?

1174


Write a program to swap two numbers without using third variable?

1321


Is there a way to switch on strings?

1101


Is a house a mass structure?

1111


Explain how can type-insensitive macros be created?

1004


How can I find the modification date of a file?

1300


What is structure in c definition?

1065


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2708


What does c mean?

1066


Do pointers take up memory?

1167


What is c language & why it is used?

1128


Differentiate between calloc and malloc.

1289


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1363