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 / sanket
take first element of array a then compare with all the elements in array b.
if it matches take second element in array a and do the same like this u will get the missing elements.
and depending on the size of the array there are different methods..
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a protocol in c?
How can you be sure that a program follows the ANSI C standard?
What is a method in c?
Write a program to print all permutations of a given string.
to find the closest pair
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the difference between exit() and _exit() function?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What are local static variables?
How can I copy just a portion of a string?
Why is not a pointer null after calling free?
How can variables be characterized?
Why does notstrcat(string, "!");Work?
What is bash c?
How can you convert integers to binary or hexadecimal?