C Program to initialize array of strings and print on the terminal

Program

#include<stdio.h>
void main()
{
	int i;
	char *student[] = {"John", "Marc", "Tim"};
	for (i = 0; i < 3; i++)
		printf("Student[%d]:\t%s\n", i, student[i]);
}

Output

Student[0]:	John
Student[1]:	Marc
Student[2]:	Tim