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

the question says that we have to find the element which is
not there in array b but there in array a. So we can just
compare each element in a with all the elements in b and if
we don't find a match then that is the desired element.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c fast?

1120


What is the scope of local variable in c?

1203


p*=(++q)++*--p when p=q=1 while(q<=6)

1816


Can a pointer be static?

1133


What is an identifier?

1087


is it possible to create your own header files?

1165


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3742


Write programs for String Reversal & Palindrome check

1138


Write a program to print ASCII code for a given digit.

1128


How do I determine whether a character is numeric, alphabetic, and so on?

1185


Why is this loop always executing once?

1110


What is difference between constant pointer and constant variable?

1402


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1200


What is the size of a union variable?

1100


When can you use a pointer with a function?

1154