String as a parameter

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