Computer Science, asked by bishwajitgayen7349, 24 days ago

Differentiate between the function of +operated when used with integer and string value . Give answer

Answers

Answered by maya3227
0

Answer:

+ is an arithmetic operator performs addition on two integer values.

The same + operator is called concatenation operator when used on strings.

Ex: 1+2=3

on string it joins two string values:

let x= "iam";

y="good"

so x+y= iamgood

.

Similar questions