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

Post New Answer

More General Aptitude Interview Questions

If anybody need SSC,TNPSC,UPSC,IFS question papers send a mail to albertbala@rediffmail.com

1 Answers  


Two trains in the same direction at 50 & 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes him. What is the length of faster train ?

0 Answers   IIT Delhi,


At 6'o clock clock ticks 6 times. The time between first and last ticks was 30sec. How much time it takes at 12'o clock.

8 Answers   IBM, Mascot,


what will u do if your sister is standing naked before u.

1 Answers  


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

0 Answers   Nagarro,






how to learn aptitude quickly

0 Answers  


Find perimeter of a trapezium with 3 sides given and distance between parallel sides given.

0 Answers   Cisco,


Number Series 10,2,8,2,6,2,?

11 Answers   TCS,


In 1978, a kg of paper was sold at Rs25/-. I f the paper rate increases at 1.5% more than inflation rate which is of 6.5% a year , then what wil be the cost of a kg of paper after 2 years? a)29.12 (b) 29.72 (c) 30.12 (d) 32.65 (e) none of these

6 Answers   IBM,


Find the value of @@+25-++@1..., where @ denotes "square" and + denotes "square root".

0 Answers   Accenture,


Product of three consecutive nos. 210. What is the sum of two least numbers?

4 Answers   Verifone,


A ridge formed over Pacific Ocean was because of the intersection of two volcanoes. But in history it was written that it was not due to those volcanoes. It proves a contradictory to form the view that history will be proved wrong in the future.Inference?

0 Answers   Accenture,


Categories