Powering a 230v air compressor

A guy that washed the trucks where I worked had a spliter that was pluged into 2 outlets(120) that was on different circuts that run his pressure washer.I'm sure any body that knows electric wiring could do this. That way you come up with 240V and 40 amps from 2 20 amps breakers. Just a thought.