In England and Wales the Highways Agency manage and maintain what they term the "strategic road network" - basically the motorways and main A roads (map [1]) - and this is funded by central government. Other roads are the responsibility of local government. I don't know how it works in Scotland.
[1] http://www.highways.gov.uk/wp-content/uploads/2012/07/Highwa...