write a c program to find biggest of 3 number without
relational operator?
Answer Posted / manjeeth
void main()
{
int a = 5;
int b = 7;
int c = 2;
int res;
res = (int)(a/b)?a:b;
res = (int)(res/c)?res:c;
printf("big num = %d",res);
}
| Is This Answer Correct ? | 132 Yes | 28 No |
Post New Answer View All Answers
please give me some tips for the placement in the TCS.
Where is c used?
What is const keyword in c?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What is break statement?
What is a constant?
What is the difference between #include and #include 'file' ?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Why void is used in c?
What are the complete rules for header file searching?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Explain null pointer.
What is exit() function?
What do you mean by a sequential access file?
What is a union?