Hello
can anyone help me with the following
The below will actually display the Name found part, even though no name actually exists and its just blank, how do i get round this, the string name will contain blanks, but i need to check if blank, then treat as blank.
char name[80]
int len;
strcpy(name, " " );
len=strlen(name);
if (len == 0 )
{
printf("No name....\n" );
}
else
{
printf("Name found...\n" );
}