what is the concatenation in small basic? explain wth an example.
Answers
Answered by
3
Answer:
In the first example, Small Basic first sees the string "1 + 1 = ". ... When there is a mix of a number and a string, Small Basic converts the number to a string and then concatenates it with the other string. So the number 1 becomes the string "1" which is concatenated to the first string "1 + 1 = ".
Answered by
3
Answer:
When there is a mix of number and w string , small basic convert the number to string and then concatenates it with the other string so the number'1 'which is concatenated to the first string "1+1"="small basic now has the string " 1+1=1"
I hope you will understand...
Similar questions