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

Why C language is a procedural language?

624


Explain what does the format %10.2 mean when included in a printf statement?

783


Can a program have two main functions?

573


What is the difference between abs() and fabs() functions?

608


Explain how can I manipulate strings of multibyte characters?

785






What is %lu in c?

688


Suggesting that there can be 62 seconds in a minute?

599


How to throw some light on the b tree?

606


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

712


What are the functions to open and close the file in c language?

596


Explain modulus operator.

598


Is this program statement valid? INT = 10.50;

687


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2001


what is the basis for selection of arrays or pointers as data structure in a program

3789


What is function and its example?

629