1.

Select the code snippet which performs ordered linear search iteratively?

A. public int linearSearch(int arr[],int key,int size) { int index = -1; <
B. public int linearSearch(int arr[],int key,int size) { int index = -1; <
C. public int linearSearch(int arr[],int key,int size) { int index = -1; <
D. None of the mentioned
Answer» C. public int linearSearch(int arr[],int key,int size) { int index = -1; <


Discussion

No Comment Found