Read two numbers from keyboard and find maximum of them?
Answer Posted / 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 View All Answers
Write a program which returns the first non repetitive character in the string?
Explain how do you override a defined macro?
What is the purpose of void pointer?
Sir i need notes for structure,functions,pointers in c language can you help me please
What does calloc stand for?
Can you pass an entire structure to functions?
What is scope of variable in c?
swap 2 numbers without using third variable?
What are valid operations on pointers?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is structure in c language?
What are global variables and how do you declare them?
What is a substring in c?
What are the storage classes in C?
For what purpose null pointer used?