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
What are structures and unions? State differencves between them.
Do you know null pointer?
What is operator promotion?
Is c easier than java?
What does the c preprocessor do?
In c language can we compile a program without main() function?
Explain Function Pointer?
Why doesn't C support function overloading?
What is the use of ?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is c preprocessor mean?
int far *near * p; means
How can I do peek and poke in c?
How can I sort more data than will fit in memory?
What is the code for 3 questions and answer check in VisualBasic.Net?