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 / sanket
take first element of array a then compare with all the elements in array b.
if it matches take second element in array a and do the same like this u will get the missing elements.
and depending on the size of the array there are different methods..
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a structural principle?
What is the difference between int main and void main in c?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
Is that possible to add pointers to each other?
Differentiate between the = symbol and == symbol?
What is a const pointer in c?
Differentiate between null and void pointers.
What does d mean?
What is bin sh c?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What are the preprocessor categories?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop