An array was given and we were required to write a function
: int CalculateThirdHighest(int a[ ]) : which calculates
the third highest number in the array. While coding in C
remember to calculate the length of array using formulae
length of array=sizeof(a)/sizeof(int). Because the number
of elements of array were not passed as argument.
i want a solution in C/C++ language
No Answer is Posted For this Question
Be the First to Post Answer
The three boxes 1,2,3 has values resp. AB,BC,AC Get 2A(B+C) +AC-2C(A-B)in Box 1 using only addition in 3 steps.
find the smallest no in gp whose sum is 38 and product is 1728 a. 12 b. 20 c. 8 d. none of these
for how many positive integers a,is it true that a*a<=2a
Here are 140,0000 pencils out of which 80 % of pencils have average length of 5 inch. What will be the total length, if they are kept one over another? What will be the distance in miles?
1, 11, 21, 1211, 111221, 312211, . . . . . what is the next term in the series?
Supposing a clock takes 7 seconds to strike 7. How mlong will it take to strike 10?
The Bulls, Pacers, Lakers and Jazz ran for a contest. Anup, Sujit, John made the following statements regarding results. � Anup said either Bulls or Jazz will definitely win � Sujit said he is confident that Bulls will not win � John said he is confident that neither Jazz nor Lakers will win When the result cameit was found that only one of the above three had made a correct statement. Who has made the correct statement and who has won the contest.
in which state does bay of bengal exist
A new apartment complex purchased 60 toilets and 20 shower heads. If the price of a toilet is three times the price of a shower head, what percent of the total cost was the cost of all the shower heads?
The next number in the series 0, 7, 26, 63 is (A) 124 (B) 148 (C) 195 (D) 255
City A population is 68000, decreasing at a rate of 80 per year City B having population 42000 increasing at a rate of 120 per Year. In how many years both the cities will have same population
5 Answers Accenture, CMC, Zycus Infotech,
Ram gets 148 marks for 20 questions. +10 for correct. -3 for wrong. How many correct answers?