Yes, caesarean delivery is absolutely safe for both mother and baby, and there are very rare chances of a stitch line infection. However, obesity or uncontrolled diabetes increases your risk of infection. There is no pain during the surgery, and you can see your baby and feed.
The day after the delivery, you might have pain for which you get painkillers. From the next day onwards, you are allowed to move around and go to the toilet.