I had a planned (I prefer that to elective!) section at 39+5 and breastfeeding was established with no more than the usual minor glitches.
Some say the milk takes a day longer to come in but as you are producing colostrum in the meantime it's neither here nor there. And you get a big shot of oxytocin at the delivery so you're getting some of the hormone fix
The best advice I can offer is to educate yourself on breastfeeding as well as possible. A really good booklet is available here. If you are well-informed then you will be better able to assert yourself and ask for things to be done your way.
I was given the opportunity to question my assigned midwife on the morning of the op, and I would make sure you ask for this chance - things I asked for clarification on included the baby not being given any formula without my consent, the baby being put onto my chest as soon as possible, help to offer a first breastfeed within an hour.
It's important that you realise you won't be very mobile for the days after the birth and while you are in hospital you must make sure you can reach a buzzer and you must not be afraid to ring it so you can have help to lift your baby up. It took the MWs 2 minutes to nip into my room at night and pass me my baby. Next time I have a baby, if it's a section I will ask them to help me cosleep. As it was they made a little nest on the side of the bed so we could be close while I wasn't feeding. I took a v-shaped cushion into hospital and was glad of it.
I think if you understand the process of normal BFing well, and are not afraid to stand up for yourself, you will be fine. I know that makes it sound like MWs are all formula-wielding maniacs, which really isn't the case, but there are a couple out there so you need to be prepared just in case!