Elaborate the ‘+ ' operator and its constraints along with the help of examples?
The + Operator Used on Strings. The + operator could also be used to add string variables or text values together. For add two or more string variables together, use the + operator.
Example:
txt1="What a very";
txt2="nice day";
txt3=txt1+txt2;
Now txt3 will be having this value "What a very nice day".
txt3=txt1+txt2; this statement due to + sign.