He wants plain C I think, MoMad. Therefore the string class cannot be used (and he should understand pointers anyway), and the first example won't compiler because C doesn't know references.