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
Why header files are used?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
How can I find the modification date of a file?
code for replace tabs with equivalent number of blanks
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is pass by reference in c?
Is javascript based on c?
What does typedef struct mean?
What does c mean before a date?
What are the advantages of using new operator as compared to the function malloc ()?
How do you view the path?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is difference between union All statement and Union?
If you know then define #pragma?
Explain the array representation of a binary tree in C.