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

Define function ? Explain arguments in functions ?

0 Answers   Geometric Software,


need tcs questn papers from 2007 to 2009 plzzzmail to 9015.rama@gmail.com its urgent

0 Answers  


What is a transfer curve?

1 Answers  


who is your role modal give in few sentances

0 Answers   Bank Of America,


what will be the value of c in c=x++ + ++x + ++x +x if c=10?

1 Answers  






What will be the sql query to list the employee names those are getting 3rd highest salary ?

0 Answers  


MY QUERY IS REGARDING AS/400. I AM FACING A PROBLEM IN UPDATING A PF COZ IT IS GETTING LOCKED SO I USED CHAIN(N) INSTEAD OF ONLY CHAIN.I ALSO TRIED UPDATE(E) ALONG WITH CHAIN(N),ITS NOT GIVING ANY ERROR BUT AT THE SAME TIME NOT UPDATING THE PF

0 Answers   Accenture,


what is 3d gard

0 Answers   HP,


wat is the usual number of bits transmitted simultaneously in parallel data transmission used by microcomputers?

2 Answers   iNautix,


Find the maximum stress intensity in the section?

0 Answers  


In HSE what is Lost time accident? why it is to be reported within 48 hrs to gov.authorities ?

0 Answers  


how can determine grounded motor when it alarm at 440volt

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • 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)