Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / amit
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
(a>b)?printf("a is larger") : printf(" b is larger ");
getch();
}
Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
How to declare a variable?
How can I make sure that my program is the only one accessing a file?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
If you know then define #pragma?
What is sizeof in c?
Why main function is special give two reasons?
Why doesnt this code work?
write a program to display all prime numbers
What are 'near' and 'far' pointers?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is difference between structure and union in c programming?
Do variables need to be initialized?
Write the syntax and purpose of a switch statement in C.
What is the condition that is applied with ?: Operator?
What are categories used for in c?