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 are the types of variables in c?

777


Write a program of prime number using recursion.

833


What are linked lists in c?

857


How do you use a pointer to a function?

855


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

956


What is the use of f in c?

734


How can I do peek and poke in c?

842


What is null pointer constant?

783


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1487


Explain the advantages of using macro in c language?

764


What is property type c?

836


What is the purpose of sprintf() function?

813


Explain the difference between the local variable and global variable in c?

831


What is typedef example?

847


What is a null pointer in c?

836