write a c program to find biggest of 3 number without
relational operator?
Answer Posted / raheman(papi)khan
#include<stdio.h>
void main()
{
int a,b,c;
printf("enter the value of a b and c");
scanf("%d%d%d",%a,&b,&c);
int max=a;
if(b>max)
max=b;
if(c>max)
max=c;
printf("%d",max);
else
printf("equal");
}
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is wrong with this declaration?
What is array of pointers to string?
Are pointers integer?
How can I open a file so that other programs can update it at the same time?
Explain pointers in c programming?
Give the rules for variable declaration?
Can a file other than a .h file be included with #include?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What are the types of pointers in c?
Explain union. What are its advantages?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Explain the difference between malloc() and calloc() function?
how can I convert a string to a number?
What is a pointer on a pointer in c programming language?