Computer Science for IGCSE & O level - Programming (Section 4 - No. 2)

What is the output when using the code: `print "Computer".Substring(3,4)`?
Comp
pute
uter
mpute

Explanation

Substring(startIndex, length). Starts at index 3, extracts 4 characters: 'mpute'

Comments (0)

Advertisement