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 / rahul
define one variable say t_max and save a[0] in that,loop
through it, if a[1] is grater than a[0] save a[1] in t_max
otherwisw a[0] remain as it is....check it same way for all
elemnts in array...finally t_max will hold max elemnt from
array.
| Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
If fflush wont work, what can I use to flush input?
What are the primitive data types in c?
Explain About fork()?
Why do we use static in c?
What is the difference between #include
Explain how do you sort filenames in a directory?
What is the scope of local variable in c?
what is the significance of static storage class specifier?
largest Of three Number using without if condition?
What is assignment operator?
Should I learn c before c++?
Explain how can I right-justify a string?
What are the characteristics of arrays in c?
What are local static variables? How can you use them?
What is the symbol indicated the c-preprocessor?