I am puzzled by a question lately, to wich I can't find an answer. What is the difference between the next pointer initialization methods:
I undestand, that the second one is the "standard" way of initializing a pointer, or at least that is how the tutorial on this website shows it, but what does the first one mean?Code:int *pointer_name=NULL
As I was searching the web for answers, I found another interesting example, where the pointer was initialized like this:
This was supposed to have some sort of special meaning, but I did not quite understand it, and I can't find the website now for further studying. I would be glad if someone could explain to me all these things about pointer initialization.Code:int * pointer_name=NULL
Big thanks in advance for everyone, reading this.