Computer Science, asked by santosh4599, 8 months ago

write a program to print values of an array using pointer​

Answers

Answered by ItsShreedhar
1

Answer:

int *ptr = &arr[0]; After this, a for loop is used to dereference the pointer and print all the elements in the array. The pointer is incremented in each iteration of the loop i.e at each loop iteration, the pointer points to the next element of the array. Then that array value is printed \

Answered by mananv665
0

Answer:search on the Google

Explanation:

Similar questions