Questions & Answers about Zatvor je u gradu.
Because the preposition u means different things depending on whether it shows location or movement.
- u + locative = in / inside / at a place
- u + accusative = into / to a place
Here the sentence describes where the prison is, not movement, so grad changes to the locative singular:
- grad → basic form
- u gradu → in the city / in town
Compare:
- Zatvor je u gradu. = The prison is in the city.
- Idem u grad. = I’m going into town / to the city.
Gradu is in the locative singular.
The noun grad is a masculine noun, and after u when talking about location, it takes the locative case.
So:
- nominative: grad
- locative: gradu
This is a very common pattern with masculine and neuter nouns in Croatian.