Wednesday, 10 August 2011

Example of Using Strings in C


Example of Using Strings in C

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

void main()
{
char *a;
printf("Enter your name=");
gets(a);
printf("%s",a);
getch();

No comments:

Post a Comment