Code:
char *key;
char blah[10];

gets(blah);
key = blah;

//How would I get a specific character from key?
Ie. blah is qwerty

I want to go through, using key, to get, say, the third character.

how would I go about doing that? I was thinking putchar(key[2]); but that doesn't seem to be the case.

Any help for this n00b would be appreciated