Which country and year census? Not all census are coded the same, and there's a reason. Within the census itself, there is no evident relationship to the head of household.
This stands for US Census 1870 and prior, Canadian 1881 and prior. I'm not versed in the UK, but maybe someone else can post those.