#include <stdio.h>
int main() {
    int arr[3] = {1, 2, 3};
    int *p = arr;

    printf("%d\n", *p);      // Outputs: 1
    printf("%d\n", *(p + 1)); // Outputs: 2
    printf("%d\n", *(p + 2)); // Outputs: 3
}