biggest of two no's with out using if condition statement
Answer Posted / ansh
Use tenary operator..
c=a<b?b:a;
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is c basic?
Why is it that not all header files are declared in every C program?
What is actual argument?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What is a constant?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is a double c?
write a proram to reverse the string using switch case?
Is file a keyword in c?
What is the use of a conditional inclusion statement in C?
what is the different bitween abap and abap-hr?
How can I find out the size of a file, prior to reading it in?
What is scope rule of function in c?
What is strcpy() function?
write a program to generate address labels using structures?