find second largest element in array w/o using sorting
techniques? use onle one for loop.
Answer Posted / tata indicom
What if the first element which you are assigning to max and
secondmax is itself the largest number in array.....
In such a case you will not be able to find second largest in
the array.....
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
why return type of main is not necessary in linux
In c language can we compile a program without main() function?
I need testPalindrome and removeSpace
#include
Differentiate between declaring a variable and defining a variable?
Write a program to use switch statement.
How can a program be made to print the name of a source file where an error occurs?
Explain about the functions strcat() and strcmp()?
What are the header files used in c language?
please give me some tips for the placement in the TCS.
What are pointers? Why are they used?
What is spaghetti programming?
What is pointer to pointer in c language?
Are pointers really faster than arrays?
Is main is a keyword in c?
How many identifiers are there in c?