swap argc & argv as an argument / return value in extract_params