Multiple choice technology programming languages

The symbol '||' is used for ?

  1. Concatenation of literals

  2. String manipulation

  3. Trace

  4. Exponential notation

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The double pipe symbol '||' in REXX is the concatenation operator used to join two literals or strings together without any spaces. For example, 'Hello' || 'World' produces 'HelloWorld'. This is different from the abuttal operator (just placing strings next to each other with a space in between). The || operator is specifically for concatenation of literals and expressions.