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 is the result
main()
{
char c=-64;
int i=-32
unsigned int u =-16;
if(c>i){
printf("pass1,");
if(c<u)
printf("pass2");
else
printf("Fail2");}
else
printf("Fail1);
if(i<u)
printf("pass2");
else
printf("Fail2")
}
a)Pass1,Pass2
b)Pass1,Fail2
c)Fail1,Pass2
d)Fail1,Fail2
e)none

Answer Posted / bishnu agrawal

it is an error bcoz u can assing a signed value to unsigned variable so answer is null

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of i/o functions?

1423


Why n++ execute faster than n+1 ?

3153


What does c mean in basketball?

1048


What are the advantages of c language?

1155


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

1210


Can include files be nested? How many levels deep can include files be nested?

1207


Tell us something about keyword 'auto'.

1112


What is the difference between a function and a method in c?

1135


How to establish connection with oracle database software from c language?

2261


Is null a keyword in c?

1256


Which header file is essential for using strcmp function?

1545


Where static variables are stored in c?

1174


What is the concatenation operator?

1213


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1296


What is the size of enum in bytes?

1136