write a c program to find biggest of 3 number without
relational operator?
Answer Posted / sidhartha
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,big;
clrscr();
printf("\n ENTER 3 VALUES : ");
scanf("%d%d%d",&a,&b,&c);
big=(a>b && a>c ? a:b>c ? b:c);
printf("\n THE BIGGEST NUMBER IS : %d",big);
getch();
]
| Is This Answer Correct ? | 22 Yes | 63 No |
Post New Answer View All Answers
Explain about the functions strcat() and strcmp()?
What does void main return?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What are the features of the c language?
What is the difference between #include
What is switch in c?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is unsigned int in c?
Explain what is the difference between a string and an array?
Why is c faster?
In a switch statement, explain what will happen if a break statement is omitted?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the difference between constant pointer and constant variable?