hey
#include <stdio.h>
#include <string.h>
int main()
{
int n = 3;
int m = 11;
char str[n][m];
char temp[m];
for (int x = 0; x < n; x++)
scanf("%s", str[x]);
for (int x = 0; x < n; x++) {
for (int y = 1 + x; y < n; y++) {
if (strcmp(str[y + 1], str[y])...
It seem like you just want to reverse the strings ? so if you read: h1 h2 h3 .... you want: h3 h2 h1 ?? if so then here is the code:
#include <stdio.h>
int main()
{
int n = 10;
char str[n][11];
for (int x = 0; x < n; x++)
scanf("%s", str[x]);
puts("");
for (int x...