Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
int a=90 , b=-89;
(a>b)?printf("a is larger") : printf(" b is larger ");
getch();
}
thank u
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is time complexity c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
In a switch statement, explain what will happen if a break statement is omitted?
What do you mean by scope of a variable in c?
write a program to display all prime numbers
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is dynamic dispatch in c++?
What are the standard predefined macros?
What is else if ladder?
how to write optimum code to divide a 50 digit number with a 25 digit number??
Explain a pre-processor and its advantages.
Describe the difference between = and == symbols in c programming?
Is c high or low level?
how to build a exercise findig min number of e heap with list imlemented?
How are Structure passing and returning implemented by the complier?