The output of this code is "lice ice ce e". Seems to be string array is acting like a circular array. But how is it possible ????
#include<stdio.h>
#include<conio.h>
void main()
{
int i,n;
char *x="Alice";
clrscr();
n=strlen(x);
*x=x[n];
for(i=0;i<n;i++)
{
printf("%s ",x);
x++;
}
getch();
}