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

PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

2081


What is pointers in c with example?

1136


Is main is a keyword in c?

1174


What are the basic data types associated with c?

1317


What is the difference between if else and switchstatement

2002


what are the advantages of a macro over a function?

1191


Explain what is the benefit of using #define to declare a constant?

1272


What are operators in c?

1075


Give differences between - new and malloc() , delete and free() ?

1151


What is identifiers in c with examples?

1240


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2623


What is I ++ in c programming?

1167


Explain how do you override a defined macro?

1130


Write a program to print numbers from 1 to 100 without using loop in c?

1134


What is the use of putchar function?

1107