write a method for an array in which it can display the
largest n next largest value.
Answer / 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 |
What are dangling pointers in c?
What is #pragma statements?
implement OR gate without using any bitwise operator.
What is s or c?
Explain is it better to bitshift a value than to multiply by 2?
What is the general form of function in c?
What is this pointer in c plus plus?
Do you know the use of fflush() function?
What are enumerated types?
What is the difference between exit() and _exit() function in c?
hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES
What is the difference between typedef and #define?