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

What are the 5 elements of structure?

559


what will be maximum number of comparisons when number of elements are given?

1406


Explain what is meant by high-order and low-order bytes?

629


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

583


How can you avoid including a header more than once?

558






Explain the difference between exit() and _exit() function?

630


What is the stack in c?

714


Do character constants represent numerical values?

835


What is a static function in c?

616


Do you know the difference between malloc() and calloc() function?

605


What do you mean by command line argument?

636


What is NULL pointer?

671


Write a program to generate the Fibinocci Series

656


What is the size of array float a(10)?

651


What are the advantages of union?

624