Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / kristian vitozev
#include <stdio.h>
int main(void)
{
int a = 7, b = 25;
a>b ? printf("%d [a]",a) : printf("%d [b]", b);
return 0;
}
| Is This Answer Correct ? | 9 Yes | 8 No |
Post New Answer View All Answers
What are lookup tables in c?
What is s or c?
State the difference between realloc and free.
Why does everyone say not to use gets?
difference between Low, Middle, High Level languages in c ?
What is a pointer in c?
What are the different types of control structures in programming?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Explain how can you be sure that a program follows the ansi c standard?
What is the use of pragma in embedded c?
Explain main function in c?
What is sorting in c plus plus?
What is the difference between c and python?
Can you assign a different address to an array tag?
Write a program to print “hello world” without using semicolon?