without using arithmatic operator solve which number is
greater??????????



without using arithmatic operator solve which number is greater??????????..

Answer / 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

More C Interview Questions

Explain 'far' and 'near' pointers in c.

0 Answers  


Write a program in c using only loops to print * * * * * *******

2 Answers   IBM,


What is the difference b/w Structure & Class?

3 Answers  


What is ambagious result in C? explain with an example.

0 Answers   Infosys,


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

0 Answers  






swap two integer variables without using a third temporary variable?

6 Answers   Persistent,


In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,


differentiate built-in functions and user – defined functions.

0 Answers  


int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????

1 Answers  


What is enumerated data type in c?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers  


What is the difference between single charater constant and string constant?

0 Answers  


Categories