In pset2 when I write this code:
string in = GetString(); char a = in; if(isupper(in)) printf("Gotcha\n");
I input string "Be sure" and I expected "Gotcha" to be printed out but it was not. When I write this code instead:
Surprisingly, "Gotcha" was printed out! Why didn't it print out before?