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 is calloc()?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is header file in c?
Is main is a keyword in c?
Explain how can I read and write comma-delimited text?
What is infinite loop?
What does %d do in c?
write a program to print largest number of each row of a 2D array
Write a program that accept anumber in words
What is %g in c?
c program to compute AREA under integral
What is static identifier?
Explain the properties of union.
How can you convert integers to binary or hexadecimal?
What are the types of c language?