Answer Posted / subrat
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,max;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
max=a;
if(b>max)
max=b;
if (c>max)
max=c;
printf("largest of %d %d %d is %d", a,b,c,max);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is c value paradox explain?
What is the difference between memcpy and memmove?
In C language what is a 'dangling pointer'?
Why does everyone say not to use gets?
Write a program to find the biggest number of three numbers in c?
Why use int main instead of void main?
What is getch?
Where is c used?
Explain what is the benefit of using #define to declare a constant?
What does it mean when the linker says that _end is undefined?
Differentiate between full, complete & perfect binary trees.
What is the use of gets and puts?
What is the right type to use for boolean values in c? Is there a standard type?
Explain how can you avoid including a header more than once?
c language interview questions & answer