The process of buying the IPO at the offering price and selling it off as soon as trading starts in the open market is termed as flipping. It is a way of earning quick profit!
Points to remember:
It is not an easy process and discouraged by brokers as companies need long-term investors.
No laws prohibit flipping but you may be blacklisted by your broker for future offerings!