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


Please Help Members By Posting Answers For Below Questions

Define Spanning-Tree Protocol (STP)

642


What is the equivalent code of the following statement in WHILE LOOP format?

767


What is the difference between memcpy and memmove?

601


What is the condition that is applied with ?: Operator?

659


Which is better malloc or calloc?

649






What is an arrays?

650


How important is structure in life?

590


What functions are used in dynamic memory allocation in c?

595


What does the file stdio.h contain?

599


Explain 'bus error'?

557


What is header file definition?

566


Can you please explain the difference between strcpy() and memcpy() function?

602


Write a program to find the biggest number of three numbers in c?

588


What is the difference between scanf and fscanf?

661


What is the use of typedef in c?

583