You'd have to escape your apostrophe. For example ./ex13 hello \' would result in
arg 1: hello
arg 2: '