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 would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Is it valid to address one element beyond the end of an array?
How can you invoke another program from within a C program?
What is the use of gets and puts?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is function prototype in c language?
What are formal parameters?
What is zero based addressing?
Where static variables are stored in c?
Disadvantages of C language.
Is it possible to execute code even after the program exits the main() function?
What is #include cctype?
What is a function simple definition?
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.
Can a variable be both const and volatile?