Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if array a conatins 'n' elements and array b conatins 'n-1'
elements.array b has all element which are present in array
a but one element is missing in array b. find that
element.

Answer Posted / rahul

define one variable say t_max and save a[0] in that,loop
through it, if a[1] is grater than a[0] save a[1] in t_max
otherwisw a[0] remain as it is....check it same way for all
elemnts in array...finally t_max will hold max elemnt from
array.

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is calloc()?

1042


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2041


What is header file in c?

1038


Is main is a keyword in c?

1084


Explain how can I read and write comma-delimited text?

1131


What is infinite loop?

1051


What does %d do in c?

925


write a program to print largest number of each row of a 2D array

2282


Write a program that accept anumber in words

1724


What is %g in c?

1031


c program to compute AREA under integral

2360


What is static identifier?

1187


Explain the properties of union.

1039


How can you convert integers to binary or hexadecimal?

994


What are the types of c language?

1007