Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Practice MT2: Q3

+7 votes
What are the answers to question 3 about string methods?  (Can you explain why for any of the tricky bits?)
asked Jan 25, 2015 in (Winter 14) by Forrest Stonedahl (100 points)

1 Answer

+2 votes
a = u

b = 1

c = 7

d = us

e = dent
answered Jan 25, 2015 by Greg Larson (100 points)
Technically, part a) is a char type, so it should be 'u', and d) and e) are both strings, "us" and "dent"...