It isn't named int char because char is a type, a reserved keyword, thus it would cause a compile error!
And secondly, never rely on names of variables. Read the description of what the argument is for! That is what the documentation is for!
But that's right. If firstname is "BRYAN", then firstname[1] is "R". And that's exactly what tolower sees (and wants). A single character in a string.