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

write a c program to find biggest of 3 number without
relational operator?

Answer Posted / manjeeth

void main()
{
int a = 5;
int b = 7;
int c = 2;
int res;

res = (int)(a/b)?a:b;
res = (int)(res/c)?res:c;

printf("big num = %d",res);
}

Is This Answer Correct ?    132 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2197


write a program to concatenation the string using switch case?

2110


What is equivalent to ++i+++j?

1096


How do you define a string?

1107


What is the explanation for modular programming?

1217


Can I initialize unions?

1046


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2391


Describe static function with its usage?

1215


What is f'n in math?

1071


what do you mean by inline function in C?

1059


What is a rvalue?

1206


Explain what is the difference between text files and binary files?

1161


What is the meaning of 2d in c?

1128


What is volatile variable how do you declare it?

1104


Explain bit masking in c?

1144