I'm trying to understand the perfect aspect of the verbs and I am not sure whether both are correct:
He denied having killed him
He denied he had killed him.
If not, what is the problem?
And one additional question, is deny to correct? I have seen it often on the Internet – He denied to ever be there. I have read that deny to is incorrect.