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...


Read two numbers from keyboard and find maximum of them?



Read two numbers from keyboard and find maximum of them?..

Answer / venugopal

#include<stdio.h>
#include<conio.h>

main()
{
int first,sec;
clrscr();
printf("enter two no's");
scanf("%d %i",&first,&sec);

if(first>sec)
{
printf("%i is big",first);
}
else
printf("%d is big",sec);
getch();
}

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

With the help of using classes, write a program to add two numbers.

0 Answers   TCS,


What is the process to create increment and decrement stamen in c?

0 Answers  


what is difference b/w extern & volatile variable??

6 Answers   Teleca,


Fifty minutes ago if it was four times as many mints past 3 o clock. how many minutes is it to six o'clock n how....?????

3 Answers   TCS,


"I LOVE MY COUNTRY" write a c program to get "COUNTRY MY LOVE I" as the output. Use any other programming language. It is not mandatory to use C.

11 Answers   ABC Infotech, ADP, College School Exams Tests, Kovair,


why we shiuld use main keyword in C

5 Answers  


What are variables and it what way is it different from constants?

0 Answers  


Write a program to check prime number in c programming?

0 Answers  


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

0 Answers   RBI,


How are 16- and 32-bit numbers stored?

0 Answers  


Why we use stdio h in c?

0 Answers  


how memory store byte

4 Answers   Huawei,


Categories