If the str variable contains the string berry, which pseudocode statement changes its contents to blackberry? a.

Question:

If the str variable contains the string "berry", which pseudocode statement changes its contents to "blackberry"?
a. Set str[0] = "black"
b. Set str = str + "black"
c. insert(str, 0, "black")
d. insert(str, 1, "black")

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: