Apparently in MA, USA, where I live, it is illegal to ask this[1]. It is brought up on Business Radio often (sirius xm 111). Although strangely, the host always thinks the law applies just to woman, which I'd find very odd. However, I am not sure people abide by it.