#include <stdio.h> int main() { int a[4]={1,2,3,4},i,n; scanf("%d",&n); for (i=0;i<=n;i=i+1) { int *p=&a[i]; printf("%d\n",*p);}}
To embed this project on your website, copy the following code and paste it into your website's HTML: