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

When would you use a pointer to a function?

808


How can this be legal c?

848


What are header files in c programming?

865


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1321


Explain Basic concepts of C language?

836


Why c is faster than c++?

814


largest Of three Number using without if condition?

1279


Explain what are header files and explain what are its uses in c programming?

889


What is integer constants?

823


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

870


What are the restrictions of a modulus operator?

873


What is the use of a ‘’ character?

821


Is swift based on c?

868


Which is better between malloc and calloc?

911


regarding pointers concept

1818