The man asked, "Where is that car going?". Yes - A declarative sentence simply states a fact or argument, without requiring either an answer or action from the reader. You should punctuate your declarative sentences with a simple period:
In your case you are
stating something that a man asked which was "Where is that car going?".