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
What are the types of variables in c?
Write a program of prime number using recursion.
What are linked lists in c?
How do you use a pointer to a function?
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
What is the use of f in c?
How can I do peek and poke in c?
What is null pointer constant?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Explain the advantages of using macro in c language?
What is property type c?
What is the purpose of sprintf() function?
Explain the difference between the local variable and global variable in c?
What is typedef example?
What is a null pointer in c?