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 old is c programming language?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is #pragma statements?
How can I remove the leading spaces from a string?
What is wrong with this code?
Define Spanning-Tree Protocol (STP)
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is time complexity c?
Write a Program to accept different goods with the number, price and date of purchase and display them
Explain what are reserved words?
Is printf a keyword?
What is the use of structure padding in c?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Why is %d used in c?
What is 2c dna?