建立一个二维字符数组

建立一个二维字符数组,保存下面四句话,

Rain is falling all around,

It falls on field and tree,

It rains on the umbrella here,

And on the ships at sea.

将其倒序输出:“.aes ta…………”

#include<stdio.h>
#include<string.h>
int main() {
    int i,j;
    char a[4][100]= {"Rain is falling all around,",
                     "It falls on field and tree,",
                     "It rains on the umbrella here,",
                     "And on the ships at sea."
                    };
    for(i=3;i>=0;i--){
        for(j=strlen(a[i])-1;j>=0;j--){
            printf("%c",a[i][j]);
        }
        printf("\n");
    }
    return 0;
}
不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^