I was taught that prepositions should be placed at the end of interrogative sentences. So why is the first sentence correct? And is it? And is the second one wrong?
1) With whom did he come here?
2) Whom did he come with here?