write a program to print only the largest number between
elements of an 1-d array?



write a program to print only the largest number between elements of an 1-d array?..

Answer / manjesh

at first suppost the 1st element of array is max among them
. now we compare max to others starts fron 2nd element if
max>number then check to next number otherwise swap both
number . at last u will found maximun no. among them

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

draw diagram of earthings

0 Answers   IBM,


What is saturation point?

1 Answers  


What is the difference between wimdow Nt, 2000 amd 2003 server ?

1 Answers  


why do we use first angle projection and third angle projection only and not 2nd and 4 thangle projections?

2 Answers   Crompton Greaves,


hey..... anybody here from CG? i m from CG n have been selected in the written xam sbi(clerical).interview date is 5/5/2010. answer me if anybody is there 4m CG

0 Answers   State Bank Of India SBI,


What do you mean by component versionig?

0 Answers  


what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?

0 Answers  


I am selected interview for computer sc.please give me some information how many types question asked in interview.my id is sumanadas10@gmail.com

0 Answers  


what are the difference between grounding,earthing and neutral???????....

1 Answers  


How is the parity flag actually set in the 8085 microprocessor?

0 Answers  


Find the maximum stress intensity in the section?

0 Answers  


what is static identifier in c language?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)