Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can I open files mentioned on the command line, and parse option flags?

1014


please give me some tips for the placement in the TCS.

2050


What is assignment operator?

995


cavium networks written test pattern ..

4025


Write a program to check prime number in c programming?

1027


Explain do array subscripts always start with zero?

1174


What is the use of sizeof () in c?

987


What are the different file extensions involved when programming in C?

1201


What is new line escape sequence?

1262


What is a volatile keyword in c?

1109


find out largest elemant of diagonalmatrix

2169


What is graph in c?

1005


How to delete a node from linked list w/o using collectons?

2717


Is c language still used?

932


What is the difference between arrays and pointers?

1064