KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I vaguely recall seeing this before in an answer to another question, but searching has failed to yield the answer. I can't recall what is the proper way to declare variables that are pointers. Is it: Type* instance; Or: Type *instance; Although I know both will compile in most cases, I believe there are some examples where it is significant, possibly related to declaring multiple variables of the same type on the same line, and so one makes more sense than the other.
Tags (comma-separated)
Save Edits
Cancel