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

Which control loop is recommended if you have to execute set of statements for fixed number of times?

1075


Disadvantages of C language.

831


Can you write the algorithm for Queue?

1737


Is that possible to add pointers to each other?

1106


What are the advantages of c language?

843


What is scope rule of function in c?

758


How can you restore a redirected standard stream?

779


Lists the benefits of c programming language?

801


What is the scope of an external variable in c?

753


Is there sort function in c?

775


Multiply an Integer Number by 2 Without Using Multiplication Operator

527


What tq means in chat?

821


What is getche() function?

804


How do I create a directory? How do I remove a directory (and its contents)?

829


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1483