If the msg variable contains the string Happy holidays, what will the location = msg.find(Day, 0); statement

Question:

If the msg variable contains the string “Happy holidays”, what will the location = msg.find("Day", 0); statement assign to the location variable? 

a. –1 

b. 0 

c. 10 

d. 11

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

Step by Step Answer:

Question Posted: