+ 1

Is int* a and int *a is the same thing ?????

pointers

21st Aug 2018, 3:42 PM
Samrat✌✌
Samrat✌✌ - avatar
3 ответов
+ 5
Yes in a sense, but there are differences. If you do this: int* a, b, c; a is pointer, b and c are int if you do this: int *a, *b, *c a, b, and c are all pointers.
21st Aug 2018, 3:51 PM
Ipang
+ 2
Ipang thanks
21st Aug 2018, 5:33 PM
Samrat✌✌
Samrat✌✌ - avatar
+ 1
Samrat✌✌ You're welcome, happy learning : )
21st Aug 2018, 5:37 PM
Ipang