#include /*This program shows how you can call up elements of an array */ /*by using pointers. If an array is called "a" you can call up */ /*the X element of the array by using *(a+X]. This is useful insofar that */ /*that functions can't change variable values*/ int main() { char a[5]; a[0]='h'; a[1]='e'; a[2]='l'; a[3]='l'; a[4]='o'; int i; for(i=0; i<5; i++) { printf("%c\n", *(a+i)); } return 0; }