#include
#include
int main()
{
char name[30];
strcpy(name, "Saaaaaaaaaaaaaaam");
printf("The name is %s\n", name);
name[4] = '\0';
printf("The name is %s\n", name);
return (0);
}
The name is Saaaaaaaaaaaaaaam
The name is Saaa