CNC order is used for delivery based intraday equity. It means you can hold shares in this trade for one day means overnight. For on day equity delivers in your demat account. In this you didn't get any leverage and not your position get auto Square off.
If you use CNC option for purchasing shares and you sell that on same day then it will considered as intraday trading and all the charges are levied as it.