What difference is between: char *c, char * c, char* c in c++ (or another type of data not char)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What difference is between: char *c, char * c, char* c in c++ (or another type of data not char)?

30th Nov 2017, 9:37 AM
Anisim
2 Answers
+ 2
They are all pointers. Asterisk position or the whitespace around asterisks has no effect.
30th Nov 2017, 9:57 AM
Scatoogle
0
ok thanks. no difference))
30th Nov 2017, 10:00 AM
Anisim