Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / raj sarswat
void main()
{
int a,b;
printf("enter the value of a and b");
scanf("%d,%d",&a,&b);
a>b?printf("%d",&a):printf("%d",&b);
getch();
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is extern c used for?
What is the modulus operator?
What is sorting in c plus plus?
What is difference between array and structure in c?
What is the purpose of the statement: strcat (S2, S1)?
Difference between MAC vs. IP Addressing
What is integer constants?
What is signed and unsigned?
How to declare pointer variables?
Explain how does free() know explain how much memory to release?
How does sizeof know array size?
What are the advantages of using Unions?
What is the purpose of void pointer?
What is the difference between union and anonymous union?
What is scope and lifetime of a variable in c?