#include <stdio.h>
#include <string.h>
int main()
{
char *ptr, str[] = "Text";
int i;
ptr = str;
for(i = 0; i < strlen(str); i++)
printf("%c", ptr[i]); ptr++;
}
return 0;
References: C From Theory