"No more cuts to public services", he was shouted at by one woman.
However, Cameron who yesterday described the flooding as "unprecedented", defended his government's spending on flood defences and pledged to do "even more".
"We've spent more in the last Parliament than in the previous parliament and we're going to spend even more in this Parliament. So it's a rising budget: 2.3 billion pounds (USD 3.4 billion) on capital schemes that will make a real difference right up and down the country," he told Sky News.
Explaining the situation in York in detail, Cameron said, "There are two sets of flood defences: the flood defences on the (River) Ouse which have worked and then the flood defences on the River Foss which weren't able to work and that's why there has been the flooding that there has been."
More From This Section
He stated that a lot of money was being spent on flood defences and they are going to spend "even more in the future", adding that the defences had protected many "thousands of houses" from floods but they don't always do enough.
His comments came as the UK Environment Agency called for a "complete rethink" on flood management and invoked nine severe flood warnings in north-east and north-west England, and more than 100 other flood alerts across England and Wales.
Many places in northern England have seen record river levels over the past 24 hours, including the River Aire in Leeds, and the rivers Calder and Ribble, affecting places such as Whalley, Hebden Bridge and Ribchester.
Thousands fled their homes to rescue centres yesterday and extra soldiers were deployed to aid emergency services to tackle the chaos during the Christmas holiday season.