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

without using arithmatic operator solve which number is
greater??????????

Answer Posted / niranjan vg

use relational operator
(a > b)
this is not a arithematic operator.

or you can use conditional operator
(a>b)?a:b;

Is This Answer Correct ?    25 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do pointers need to be initialized?

1078


Why & is used in c?

1186


Explain what will the preprocessor do for a program?

1063


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1054


Can two or more operators such as and be combined in a single line of program code?

1367


Write a program to generate the Fibinocci Series

1232


Is c procedural or functional?

1024


Write a code to generate a series where the next element is the sum of last k terms.

1223


What is a file descriptor in c?

1127


Write a c program to demonstrate character and string constants?

2191


write a program to find the given number is prime or not

4752


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1159


What is atoi and atof in c?

1084


What is the role of && operator in a program code?

1068


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1942