老五 is the informal way of addressing or referring to the fifth child in a family.
王老五 (Wáng Lǎowǔ — literally 'Old Fifth Wang') is a stock phrase for an unmarried man or bachelor, often with a slightly pitying or humorous tone. The phrase entered popular usage from folk culture and literature.