Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
serpent56838yI've used both over time, but ended up on the char *string option in the end. Given the example of needing to do it this way for char *string1, *string2; I decided this was where it belonged.
Related Rants
Pointers like this:
char* string;
Or like this:
char *string;
?
undefined
best practices
pointers
declaration