Which pseudocode statement displays the last character in the String variable str? a. Display str[1] b. Display

Question:

Which pseudocode statement displays the last character in the String variable str?
a. Display str[–1]
b. Display str[length(str)]
c. Display str[last]
d. Display str[length(str) – 1]

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

Step by Step Answer:

Question Posted: