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
Explain what is the difference between null and nul?
Does c have enums?
What is extern c used for?
What is the difference between %d and %i?
What are the salient features of c languages?
What are the advantages of using linked list for tree construction?
Does c have circular shift operators?
When a c file is executed there are many files that are automatically opened what are they files?
How is a macro different from a function?
How can I remove the leading spaces from a string?
What language is windows 1.0 written?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is the difference between array and linked list in c?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is LINKED LIST? How can you access the last element in a linked list?