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
Do pointers need to be initialized?
Why & is used in c?
Explain what will the preprocessor do for a program?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Can two or more operators such as and be combined in a single line of program code?
Write a program to generate the Fibinocci Series
Is c procedural or functional?
Write a code to generate a series where the next element is the sum of last k terms.
What is a file descriptor in c?
Write a c program to demonstrate character and string constants?
write a program to find the given number is prime or not
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
What is atoi and atof in c?
What is the role of && operator in a program code?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0