What do girls expect after giving a guy a compliment?

When a girl says to a guy that he looks good or that his personality is great , what is the guy supposed to say? When is that considered flirting and when is it just being friendly?
What do girls expect after giving a guy a compliment?
Post Opinion