As per your function declaration:

Code:
void size(string* const pword);
'size' function require one argument and that is missing during function call.