#include <stdio.h>

int main()
{
  int n[4] = { 5, 10, 15 ,6}; 
  
  int i;
  /*for(i=0;i<4;i++){
      printf("%d\n",n[i]);
  }*/
  
  int *p;
  for(p=n;p<n+4;p++){
      printf("%d\n",*p);
  }
  
  /*int *p,*end;
  end=n+4;
  while(p<end){
      printf("%d\n",*p);
  }*/
}
  

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: