biggest of two no's with out using if condition statement
Answer Posted / abhilash.d
void main()
{
int a,b,big;
printf("enter the values of a,b");
scanf("%d%d",&a,&b);
big=a>b?a:b;
printf("biggest of two no is:%d",big);
}
Is This Answer Correct ? | 19 Yes | 7 No |
Post New Answer View All Answers
What are the different types of linkage exist in c?
Explain about C function prototype?
What is the difference between āgā and āgā in C?
Explain what are preprocessor directives?
What are pointers really good for, anyway?
How do you print an address?
find out largest elemant of diagonalmatrix
Explain how are 16- and 32-bit numbers stored?
How does selection sort work in c?
ATM machine and railway reservation class/object diagram
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Write a program to print numbers from 1 to 100 without using loop in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Difference between Function to pointer and pointer to function
What header files do I need in order to define the standard library functions I use?