- All you have to do is ask the question.
- All you have to do is to ask the question.
- All you have to do is asking the question.
The first sentence is what I saw on the tv show and the other things I made.
I thought that the first sentence pattern was wrong before.
Do they have exactly the same meanings?