write a method for an array in which it can display the
largest n next largest value.
Answer Posted / akshatgarg
well there are many methods one simple method i
Find the largest.
Find the smallest.
replace largest by smallest-1
then again search for the largest.
Now this time u will get the second largest number.
Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Is it fine to write void main () or main () in c?
Explain what is the difference between a free-standing and a hosted environment?
What is the c value paradox and how is it explained?
In C, What is the #line used for?
What is %d called in c?
Lists the benefits of c programming language?
What are the different data types in C?
What is const keyword in c?
What does calloc stand for?
When we use void main and int main?
What functions are in conio h?
Do you know the purpose of 'register' keyword?
Where define directive used?
Explain what are preprocessor directives?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com