Final answer:
The gun is being held at a height of 4 feet when it is fired.
Step-by-step explanation:
The height of the gun when it is fired can be found by evaluating the quadratic function at time t = 0. We substitute t = 0 into the function h(t) = -16t^2 + 64t + 4 to find the height.
h(0) = -16(0)^2 + 64(0) + 4
h(0) = 4
Therefore, the gun is being held at a height of 4 feet when it is fired.