Using string functions gets and puts

Gets and puts are standard string funtion used to accept and print string.In absense of these functions,the string is parsed character by character and stored in string array.

#include < stdio.h >
#include < conio.h > 

void main()
{
	char str[100];
	int i;
	clrscr();
	printf("\nEnter a string:");
	gets(str);
	printf("\nEntered string is\n");
	puts(str);
} // main