Example of Implementation of a pointer to an array in C:

#include <stdio.h>

int main() {
    int arr[] = {1, 2, 3, 4, 5};
    int (*ptr)[5] = &arr;

    printf("Elements of the array using pointer to array:\n");

    for (int i = 0; i < 5; ++i) {
        printf("%d ", (*ptr)[i]);
    }

    return 0;
}