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

Explain why C language is procedural?

990


Is javascript written in c?

806


What is the size of structure in c?

918


Explain how can I open a file so that other programs can update it at the same time?

885


Why does this code crash?

857


Explain do array subscripts always start with zero?

965


What is the difference between #include

and #include “header file”?

806


How do we print only part of a string in c?

822


What are c identifiers?

864


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

924


Compare and contrast compilers from interpreters.

925


What are near, far and huge pointers?

854


What are two dimensional arrays alternatively called as?

961


What is the purpose of void in c?

814


What are the 32 keywords in c?

867