You're going to have to be more exact about the code you use when the problem occurs: If I paste your code into an online compiler and try it:
#include <stdio.h>
int main()
{
printf("Hello World\n");
char *Amy[] = {"Olivia \n Emma \n Ava\n Mia\n Charloth\n Noah \n Liam \n Ben \n Oliver \n will"};
printf("\n Amy's Profile\n");
printf("Student Names :\n %s",*Amy,"\n");
return 0;
}
It does the same thing each time I run it:
Hello World
Amy's Profile
Student Names :
Olivia
Emma
Ava
Mia
Charloth
Noah
Liam
Ben
Oliver
will
Which is what I expect.
I would suggest one improvement to your code though:
printf("Student Names :\n %s", Amy[0], "\n");
Is normally a better way of accessing an array than using a pointer. It won't make any difference to your code output though.