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

How are Structure passing and returning implemented by the complier?

1171


What is the difference between abs() and fabs() functions?

1135


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5463


Are the expressions * ptr ++ and ++ * ptr same?

1160


Why do we use header files in c?

1081


What are loops in c?

1015


C program to find all possible outcomes of a dice?

2365


How can I swap two values without using a temporary?

1113


Why is c called a mid-level programming language?

1213


Is there a built-in function in C that can be used for sorting data?

1271


What does c value mean?

1205


What are the parts of c program?

1103


What is the purpose of 'register' keyword?

1103


hi, which software companys will take,if d candidate's % is jst 55%?

2093


Do pointers store the address of value or the actual value of a variable?

1083