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
Distinguish between actual and formal arguments.
Why do we need a structure?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What are the ways to a null pointer can use in c programming language?
What are high level languages like C and FORTRAN also known as?
Explain the use of function toupper() with and example code?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What is the purpose of clrscr () printf () and getch ()?
Can a pointer point to null?
What are global variables and how do you declare them?
What are the advantages of c preprocessor?
List the different types of c tokens?
How can this be legal c?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What is a function in c?