I want to input a sentence in exactly 5 words. The sentence splits into strings. These strings will be stored in a 2D array.
Input: There is a red apple
Array <= each word has at most 10 characters
T h e r e
r e d
a p p l e
if I cout << Array, the display would be 'e'.
I can only use 2D array and can`t use pointer.