I am a Christian and I would say I have experienced both of these. Occasionally a really clear voice in my head but also being surprised, perhaps by stumbling across a reading or a homily in church that spoke to me or even a part of nature bringing comfort. I think you can also hear God through others in the way they behave or treat you. Sometimes it is being guided to answers after reflection and prayer.
I have examples of all these but was thinking about it the other day as I was having a very troubled sleepless night. I stumbled across the bible study thread on here after totally missing it earlier in the week and read the comforting words of Psalm 23. I went back to bed with those in my head, it brought me peace.
It also made me think how many other times I feel I have had God 'speak' to me in many different ways.
I am just interested in whether others with faith experience these varied methods or do you find it comes more with prayer?
(I know there may be others who doubt or do not believe these are messages from God, that is fine, but that is not what I am asking here, I am trying to explore how my experience and others varies as I explore my faith.)