Here, an example [1] right from SO, raw copy-paste:
>please can anyone point out what I have done wrong this is code for permutation which stores all possible permutation of the small vector "vec" and then display it
And this isn't the worst I seen, but those get deleted quickly. But this one already tickles half of the points I've made.