characters and string indexes

mcqspedia.com has 4 Question/Answers about Topic characters and string indexes

How many operators PHP offer for strings?

How many operators PHP offer for strings?
  • A. 2
  • B. 3
  • C. 4
  • D. 5
  • Correct Answer: Option A

Dot . operator in strings are called as

Dot  .  operator in strings are called as
  • A. Assignment operator
  • B. Concatenation operator
  • C. Concatenating assignment operator
  • D. Literal operator
  • Correct Answer: Option B

Concatenating assignment operator is denoted by

Concatenating assignment operator is denoted by
  • A. =
  • B.
  • C. ⋅=
  • D. ⋅=⋅
  • Correct Answer: Option C

Concatenating operator is used for

Concatenating operator is used for
  • A. Combining two strings
  • B. Comparing two strings
  • C. Arrays concatenation
  • D. None of them
  • Correct Answer: Option A