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
Explain what is meant by high-order and low-order bytes?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Can you apply link and association interchangeably?
What is an auto keyword in c?
How do I convert a string to all upper or lower case?
Differentiate between #include<...> and #include '...'
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is %d used for?
In which header file is the null macro defined?
What are the types of functions in c?
What is void pointers in c?
what will be maximum number of comparisons when number of elements are given?
How many identifiers are there in c?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Explain can the sizeof operator be used to tell the size of an array passed to a function?