char t;
scanf("%*c%c",&t);
can anyone tell me anything about this scanf?...i've seen it in a problem and just can't understand it...
ty
char t;
scanf("%*c%c",&t);
can anyone tell me anything about this scanf?...i've seen it in a problem and just can't understand it...
ty
I don't see any issues off-hand. Are you aware that %*c suppresses character conversion? Essentially you're going to skip one character and assign another to t.