doe string variables are always passed as reference like arrays
String as a parameter
yes since string is an array of characters
whereas if u use the string type object directly then no it can be passed by value
doe string variables are always passed as reference like arrays
yes since string is an array of characters
whereas if u use the string type object directly then no it can be passed by value