1#include <stdio.h>
2int main() {
3 int data[5];
4
5 printf("Enter elements: ");
6 for (int i = 0; i < 5; ++i)
7 scanf("%d", data + i);
8
9 printf("You entered: \n");
10 for (int i = 0; i < 5; ++i)
11 printf("%d\n", *(data + i));
12 return 0;
13}
14