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
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What is pointers in c with example?
Is main is a keyword in c?
What are the basic data types associated with c?
What is the difference between if else and switchstatement
what are the advantages of a macro over a function?
Explain what is the benefit of using #define to declare a constant?
What are operators in c?
Give differences between - new and malloc() , delete and free() ?
What is identifiers in c with examples?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What is I ++ in c programming?
Explain how do you override a defined macro?
Write a program to print numbers from 1 to 100 without using loop in c?
What is the use of putchar function?