I got 2 ways of use of the word HEAR below, what is the difference between them just in tense terms?
1- hear somebody/something doing something
e.g: He could hear a dog barking.
2- hear somebody/something do something
e.g: Did you hear him go out?