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 / nikita
add the sum of elements in array a and then that of array
b.. subtract the sums of the two arrays a and b. ul get the
missing element
| Is This Answer Correct ? | 48 Yes | 1 No |
Post New Answer View All Answers
What is the best way to store flag values in a program?
Is c weakly typed?
What is c programing language?
How can you increase the size of a dynamically allocated array?
Can a file other than a .h file be included with #include?
what is the height of tree if leaf node is at level 3. please explain
How many data structures are there in c?
Apart from dennis ritchie who the other person who contributed in design of c language.
What is type qualifiers?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What is the heap?
explain what is fifo?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is the use of #include in c?
If you know then define #pragma?