←
Top
/
Answer-27A-1
Answer to Question 27A-1
A null-terminated string of length
n
needs
n
+1 bytes, since it needs a place to store the null character.
CopyString
does not allocate a large enough array.