Hi,
I was reading this article, https://science.howstuffworks.com/question456.htm, about firing a bullet from the back of train which is moving as fast as the bullet.
The following is taken from the article mentioned above.
So, ideally, the bullet will fall straight to the ground as it exits...