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 / brijesh
the question says that we have to find the element which is
not there in array b but there in array a. So we can just
compare each element in a with all the elements in b and if
we don't find a match then that is the desired element.
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Why is c fast?
What is the scope of local variable in c?
p*=(++q)++*--p when p=q=1 while(q<=6)
Can a pointer be static?
What is an identifier?
is it possible to create your own header files?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Write programs for String Reversal & Palindrome check
Write a program to print ASCII code for a given digit.
How do I determine whether a character is numeric, alphabetic, and so on?
Why is this loop always executing once?
What is difference between constant pointer and constant variable?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is the size of a union variable?
When can you use a pointer with a function?