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
How can I change the size of the dynamically allocated array?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
Are pointers integers in c?
What does sizeof return c?
What is the meaning of 2d in c?
Explain about the functions strcat() and strcmp()?
How can you find the exact size of a data type in c?
Explain 'far' and 'near' pointers in c.
What is use of pointer?
What is identifiers in c with examples?
What is signed and unsigned?
How do I round numbers?
What are 'near' and 'far' pointers?
What is volatile variable in c?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference