write a c program to find biggest of 3 number without
relational operator?

Answer Posted / keerthana

include<stdio.h>
include<conio.h>
void main()
int a,b,c;
clrscr();
printf("enter the three values:")
scanf("%d%d%d",&a,&b,&c)
if(a>b&a>c);
{
printf("a is big")
}
else
if (b>a&b>c)
{
printf("b is big")
}
else
printf("c is big");
getch();
}

Is This Answer Correct ?    6 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

868


What is identifier in c?

773


What is volatile variable how do you declare it?

778


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

899


Write programs for String Reversal & Palindrome check

807


How do you define a function?

789


What are external variables in c?

782


Explain what is the heap?

814


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

936


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

1002


What is printf () in c?

792


What is null pointer constant?

795


How do you sort filenames in a directory?

958


What is difference between array and pointer in c?

770


Describe the steps to insert data into a singly linked list.

832