write a c program to find biggest of 3 number without
relational operator?
Answers were Sorted based on User's Feedback
Answer / priyanka
#include<stdio.h>
#include<conio.h>
void main()
int a,b,c;
clrscr();
printf("enter any three no.s");
scanf("%d%d%d",&a,&b&c);
if(a>b&&a>c);
{
printf("a is biggest");
}
else if(b>a&&b>c)
{
printf("b is biggest");
}
else
printf("c is biggest");
getch();
}
| Is This Answer Correct ? | 52 Yes | 105 No |
What is the relation between # and include<stdio.h>
How can you determine the maximum value that a numeric variable can hold?
How can I set an array's size at run time?
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1
What is scope rule of function in c?
Explain what is the difference between a free-standing and a hosted environment?
Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Difference Between embedded software and soft ware?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
hat is a pointer?
What is %g in c?
Write a code of a general series where the next element is the sum of last k terms.