What is the correct way?

Follow

type *ptr is the only correct way and if you disagree you're wrong

@nil It's a "type pointer" that's called "ptr", not a "type" that's called "pointer to ptr". The pointer is part of the datatype, you rart.

type* ptr;

Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.