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

What is the best way to store flag values in a program?

1076


Is c weakly typed?

1022


What is c programing language?

1083


How can you increase the size of a dynamically allocated array?

1188


Can a file other than a .h file be included with #include?

1163


what is the height of tree if leaf node is at level 3. please explain

2153


How many data structures are there in c?

1116


Apart from dennis ritchie who the other person who contributed in design of c language.

1397


What is type qualifiers?

1134


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1069


What is the heap?

1218


explain what is fifo?

1072


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1283


What is the use of #include in c?

1085


If you know then define #pragma?

1104