(-5) - [-32)+(-2)]=[(-5)+(-32)]+(-2)
Answers
Answered by
2
Step-by-step explanation:
Logic to search an element in array using pointers
Input element to search from user, store it in another variable say toSearch . Initialize a pointer to first and last element of array. Say arr = array and arrEnd = (array + size - 1) . Initialize a variable index = 0 that will keep track of searched element index.
Answered by
1
vrkyrihouuydiipu7r6gohotudf
Similar questions