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



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

Answer / 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

More C Interview Questions

Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture, TCS,


why r u join this company? give solid resons.

16 Answers   IBM, Infosys, TCS,


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


write a program for size of a data type without using sizeof() operator?

22 Answers   HCL, IBM,


to get a line of text and count the number of vowels in it

3 Answers   Satyam,


How to Throw some light on the splay trees?

0 Answers  


Why is C language being considered a middle level language?

0 Answers  


WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 Answers  


what is Structural oriented language? give some example of this language.....?

1 Answers  


Who invented bcpl language?

0 Answers  


What is the difference b/w Structure & Class?

3 Answers  


write a program to reverse the words in the sentence.NOTE:not reverse the entire string but just the occurance of each word

1 Answers   Sienna Ecad, Wipro,


Categories