what is harder to do ?

In general the order of difficulty is: asking someone out when there is chemistry, initiating a breakup, asking someone out when you do not know what will happen, getting dumped. But there are of course many exceptions. For example a gf lost her virginity to me, I fell all the way in love and then my feelings changed. I felt too guilty to end things and just checked out (quiet quit) - she got frustrated with the lack of progress and ended things herself - I was so happy to be dumped!
 
It depends.
Breakups are generally easy for me. I do all the things that i know she hates and sit back until she says " we need to talk" it ain't hard to be an asshole. Cowardly but it works.
Asking out someone you know and have talked to and joked with isn't so hard. Saying " let's grab a drink sometime" or "I'd really love to get to know you better. Lunch?" Easy.
What's hard is approaching a complete stranger who you don't know and asking them out. There is too many unknown variables: are they in a relationship? Married, different sexual orientation? Coming out of a bad relationship? Got too much on their plate to date? You're not their type? Etcetera, Etcetera, Etcetera!!!