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
How does placing some code lines between the comment symbol help in debugging the code?
What does malloc () calloc () realloc () free () do?
Explain 'bit masking'?
Why is void main used?
What is cohesion in c?
What is the difference between declaring a variable and defining a variable?
What are structure types in C?
What does %d do?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is the use of gets and puts?
What is static memory allocation?
Why does this code crash?
Write a program to print factorial of given number without using recursion?
What is s in c?
What are register variables in c?