Interrogative pronouns are used in inquiry, to form special questions. They are: who, whose, what, which.

The interrogative pronoun who has the category of the case: the nominative case is who, the objective case whom.
Use
Who refers to human beings:
Slipping her hand under his arm, she said: โWho was that?โ โHe picked up my handkerchief. We talked about pictures.โ (Galsworthy)
What, when not attributive usually refers to things but it may be applied to persons when one inquires about their occupation.
โWhat are you looking for, Tess?โ the doctor called. โHairpins,โ she replied.(London)
โWhat was he?โ โA painter.โ (Galsworthy)
Which has a selective meaning. It may refer to persons and things.
The boys clasped each other suddenly in an agony of fright. โWhich of us does he mean?โ gasped Huckleberry. (Twain)
Which side of the bed do you like, Mum? (Galsworthy)
The questions Who is he? What is he? Which is he? differ in their meaning.
| What is he? | Inquires about the occupation of the person spoken about |
| Who is he? | Inquires about the name or parentage of some person |
| Which is he? | Inquires about some particular person out of a definite group of persons |
Function
In the sentence, interrogative pronouns may have different functions โ those of subject, predicative, object, and attribute:
Who, do you think, has been to see you, Dad? She couldnโt wait! Guess.(Galsworthy) (SUBJECT)
โWhatโs been happening, then?โ he said sharply. (Eliot) (SUBJECT)
โNo, whoโs he?โ โOh, heโs a Polish Jew.โ (Aldington) (PREDICATIVE)
โWhat are you, Mr. Mont, if I may ask?โ โI, sir? I was going to be a painter.โ(Galsworthy) (PREDICATIVE)
โWhat was her father?โ โHeron was his name, a Professor, so they tell me.โ(Galsworthy) (PREDICATIVE)
โHe says heโs married,โ said Winifred. โWhom to, for goodnessโ sake?โ(Galsworthy) (OBJECT)
โWho do you mean?โ I said. (Dn Maurier) (OBJECT)[1]
[1] There is a tendency in Modern English to use who, instead of whom, as an object
