How can I solve "void cannot be dereferenced" error?

Printable View