Thursday, March 12, 2009

C Structure

#include
#include
void main (void)
{
clrscr();
struct string
{
char name[80];
};
struct string str;
printf("Enter your name: ");
gets(str.name);
getch();
}

No comments:

Post a Comment