Showing posts with label Example of Using Strings in C. Show all posts
Showing posts with label Example of Using Strings in C. Show all posts

Wednesday, August 10, 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();