Correct Answer is C.
The number of substrings that can be formed from a character string of length m is given by the formula:
m(m+1)/2
This formula represents the sum of the first m natural numbers and accounts for substrings of all possible lengths, from length 1 to length m.