In the frist two sentences, 'what' and 'which' are adjectives serve as modifiers. 'Who' in the third sentence is a subject. I am not sure, no good at grammars .
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.