Quote:
How do I solve this question on multi-dimensional arrays (matrices) in C programming languages
What are you talking about ? There is no multi-dimensional arrays or matrices.
This problem is a single string or char array (in C).
Quote:
its very very complicated i dont know where to start from
No, in fact this is very easy. If you are unable to device a solution strait, start with easier tasks and make then more complicated, step by step.
- print the string char by char.
- print the string char by char in reverse order.
- print the string with 1 word per line.
- print the string with 1 word per line, in reverse order.
You are learning by trial and error, every fail is a knowledge of what don't work.
To get more help, show your work and tell us what is your problem.