doc: test-writing-guidelines: fixed the C test example

This example had some typos and other basic mistakes that prevented
it from being built.

Fixed it.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
1 file changed