Basic idea is to think of a line CP from the center of the circle to the point of impact P. Then compute the angle that the inbound ray makes with that line at P. Then reflect that angle around the line CP.

Sorry, I don't have code handy but this has come up on the forums before, so you should be able to get code for it that way. (Though the code examples I remember were using vector math.)