how to find the largest element of array without using relational operater?

Answer Posted / dhakchina moorthy.p

sort the array first and then have the last element of the
array, which is always larger then the remaining.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1670


What is the acronym for ansi?

620


What is main function in c?

539


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2151


Is the exit() function same as the return statement? Explain.

652






how to construct a simulator keeping the logical boolean gates in c

1717


Write programs for String Reversal & Palindrome check

592


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

663


i have a written test for microland please give me test pattern

2173


what is the syallabus of computer science students in group- 1?

1832


What is scanf () in c?

655


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4167


Can we use any name in place of argv and argc as command line arguments?

602


Why should I use standard library functions instead of writing my own?

665


What is switch in c?

636