I have a struct list of names, last names, addresses... All inputted in separate CHAR strings.
The problem is whenever I paste one of these strings I also get a whole lot of whitespace afterwards.
For example, for Name and Last name strings, I get:
Britney............................................Johnson...................................
(dots represent space characters at the end of each string)

Here is my code:

```
void table_names (void)
{
ADDRESS *tmp_ptr;
printf ("All names in address book:\n");
tmp_ptr= hol; 
printf(" ______________________________\n");
printf("|  FIRST NAMES   | LAST NAMES  |\n");
printf("|________________|_____________|\n");
while(tmp_ptr!=NULL)
   {   
    printf ("%s%s",tmp_ptr->name,tmp_ptr->lname);
    tmp_ptr= tmp_ptr->next;
   }
}

```

Any help on how to get rid of the whitespace?