Hello, Lupa
You can have a look at this thread where I posted about the use of "who" and "whom":
Who, whom, etc.
You'll have to skip the first posts.
The structures of your questions a), b) and c) are explained in that thread.
Basically, a) and b) are the two options you have when "whom" does...