A cop hit on me and asked for my number and said if I need “ANYTHING” to let him know” what exactly does that mean?

How would you respond? And should I tell him I usually don’t give my numbers out to strangers?

Updates
+1 y
We both happened to park at the same time and get out of our car at the same time and we waved and said hello and I said “thank you for all you do for us” and he said “you’re welcome” and then approached me and asked me 1000 questions.. like why I parked where I parked and where I work and if I live on my own and blah blah blah
Updates
+1 y
I’m usually not friendly with cops or answer any of their questions but I wasn’t in trouble at the time, so I just answered him..
A cop hit on me and asked for my number and said if I need “ANYTHING” to let him know” what exactly does that mean?
Post Opinion