#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; for (int i = 0; i < 5; i++) { printf("%d ", arr[i]); } printf("\n"); return 0; }
codeaft@codeaft:~$ gcc codeaft.ccodeaft@codeaft:~$ ./a.out 1 2 3 4 5 codeaft@codeaft:~$