without using control structures and control structures find the max and min of given 2 nos
Answer / chavidi
by using ternary operators we can find the max number among
2 numbers
a>b?a:b;
| Is This Answer Correct ? | 5 Yes | 2 No |
DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?
What does c mean before a date?
Explain what is the difference between #include and #include 'file' ?
What is mean by data types in c?
Which programming language is best for getting job 2020?
What is c++ used for today?
find largest of 3 no
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
How can I make sure that my program is the only one accessing a file?
Explain how do you print only part of a string?
When should a type cast not be used?