English, asked by vamsikusumaraju5016, 4 months ago

What is the use of reset() function?

Answers

Answered by RituRani2000
0

Explanation:

to refresh from virus and debris

Answered by XxBadCaptainxX
0

Answer:

The reset() function moves the internal pointer to the first element of the array.

Related methods:

current() - returns the value of the current element in an array

end() - moves the internal pointer to, and outputs, the last element in the array

next() - moves the internal pointer to, and outputs, the next element in the array

prev() - moves the internal pointer to, and outputs, the previous element in the array

each() - returns the current element key and value, and moves the internal pointer forward

Similar questions