Computer Science, asked by nimishakhan962, 9 months ago

explain how the & operator works on text

Answers

Answered by wwwpayel49
24

Answer:

Use text operators to combine two or more text items into one larger item, indicate text constants in a formula, format the results of a formula, or represent special characters in a formula. ... Marks an operator character to be used as a character instead of an operator.

In computer programming and at the command line, an operator is an object that is capable of manipulating a value or operator. For example, in "1 + 2", the "1" and "2" are the operands and the plus symbol is the operator.

Answered by KailashHarjo
0

The & operator works to create a text string by combining values one after another. Both operands are converted to text representations if they are not already text before concatenation.

  • In computing, the "&" operator is used in various programming languages to perform bitwise operations on binary data, including text.
  • When used on text data, the "&" operator typically performs string concatenation, which combines two strings into a single string.
  • For example, if you have two strings "hello" and "world", using the "&" operator would result in the new string "helloworld".
  • In some programming languages, the "&" operator can also be used to perform logical operations on binary data, but this usage is more rare and generally not applicable to text data.

#SPJ3

Similar questions