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 / nikita

add the sum of elements in array a and then that of array
b.. subtract the sums of the two arrays a and b. ul get the
missing element

Is This Answer Correct ?    48 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why header files are used?

1060


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1351


How can I find the modification date of a file?

1211


code for replace tabs with equivalent number of blanks

2094


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1052


What is pass by reference in c?

1141


Is javascript based on c?

992


What does typedef struct mean?

1035


What does c mean before a date?

1096


What are the advantages of using new operator as compared to the function malloc ()?

1265


How do you view the path?

1071


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2681


What is difference between union All statement and Union?

1054


If you know then define #pragma?

1049


Explain the array representation of a binary tree in C.

1159