Write a program that echoes its command-line arguments in reverse order. Running the program by typing
reverse void and null
should produce the following output:
null and void
Example 2:
reverse you are one number
number one are you
Hidden content!int main(){ int n, start, end, i; char s[100], c; *** * * * * * * *** * * * ** * *** * &n) != EOF && n != 0) { * * * * ** * * * ** * * ** * ** ** * * ** s);