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
How can I open files mentioned on the command line, and parse option flags?
please give me some tips for the placement in the TCS.
What is assignment operator?
cavium networks written test pattern ..
Write a program to check prime number in c programming?
Explain do array subscripts always start with zero?
What is the use of sizeof () in c?
What are the different file extensions involved when programming in C?
What is new line escape sequence?
What is a volatile keyword in c?
find out largest elemant of diagonalmatrix
What is graph in c?
How to delete a node from linked list w/o using collectons?
Is c language still used?
What is the difference between arrays and pointers?