Suppose an array contains n elements. Given a number x that
may occur several times in the array. Write a program to find
i. The number of occurrences of x in the array
ii. The position of first occurrence of x in the array.
Answers
Answered by
1
Answer:
the no. of occurrences of din the array
Similar questions