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 meant by keywords in c?

1031


Why is c called a structured programming language?

1209


What does void main return?

1064


What is the difference between functions getch() and getche()?

1031


What are structural members?

952


What is switch in c?

1042


What are the uses of null pointers?

1031


Can we change the value of static variable in c?

970


What are the 5 data types?

1047


How can you return multiple values from a function?

1050


write a program to print data of 5 five students with structures?

2003


What are the types of data types and explain?

1032


What is class and object in c?

1044


Create a simple code fragment that will swap the values of two variables num1 and num2.

1233


write a c program to find the sum of five entered numbers using an array named number

2073