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

How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1881


Explain how can a program be made to print the name of a source file where an error occurs?

983


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

971


What is the best way to store flag values in a program?

838


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

901


Which one would you prefer - a macro or a function?

884


any "C" function by default returns an a) int value b) float value c) char value d) a & b

903


Where is volatile variable stored?

878


Which is better oop or procedural?

848


What is a function in c?

1246


What is the value of c?

821


Where are c variables stored in memory?

846


What is pass by reference in c?

906


c program to compute AREA under integral

2122


What are enumerated types?

879