I have always found it amusing that people actually believe that this is a useful question.
The only way this could be useful is to see if the other person answers nervously. I doubt that a seasoned professional would be thrown off by such an innocent and naive question.
Here is the straight dope:
http://www.snopes.com/risque/hookers/cop.asp