I want this code to skip through a name like " bob dylan", ignore the spaces before "bob" and print "B".
It is not printing anything for some reason.
#include <stdio.h>
#include <cs50.h>
#include <string.h>
#include <ctype.h>
int main(void)
{
printf("input name: ");
string name = GetString();
int start = 1;
while(strcmp(&name[start], " ") == 0)
{
start++;
printf("%c\n", toupper(name[start]));
}
start++;
}