For question number one:
T is substituted by t in the code-part so
becomes
and
PHP Code:
printf("%c %c",T,t);
becomes
PHP Code:
printf("%c %c",t,t);
Then I hope it becomes obvious.
For question two there is no real condition test to care about as I see it.
++a makes a = 1.. tested against the value 11 but the result ain't used anywhere.
Same for ++b == 11 as I see it.
The change scottn suggested makes no difference as I tested it either.
Guess the style of coding should be avoided if we have no idea what it's about