What is the correct way?

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

Follow

@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;

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Game Liberty Mastodon

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