Answer Posted / mihir a kamdar
#include<stdio.h>
main()
{
int n1,n2,n3,big;
printf("Enter 3 No.=");
scanf("%d %d %d",&n1,&n2,&n3);
if(a>b)
big=a;
else
big=b;
if(c>big)
big=c;
printf("\n Largest No is=%d",big);
getch();
}
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a function and a method in c?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is a ternary operator in c?
What are the different types of objects used in c?
What are the different file extensions involved when programming in C?
Explain what are bus errors, memory faults, and core dumps?
What is page thrashing?
What is the purpose of sprintf() function?
Explain pointers in c programming?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
Differentiate between functions getch() and getche().
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
How can I rethow can I return a sequence of random numbers which dont repeat at all?
Is that possible to store 32768 in an int data type variable?
How main function is called in c?