I just wanted to confirm.
Let's say I have a method like this
firstString = "Hello"
Then somewhere else
the code I call this
secondString = GetValue();
My question is
, are firstString and secondString the same string
, or 2 different strings?
the memory addresses of both strings
(using pointers) and they are the same, so my guess is
that only one string
created but I want to be sure of that.
View Complete Post