|
@@ -12,7 +12,9 @@ int main() { |
|
|
s[i] = '\0'; |
|
|
s[i] = '\0'; |
|
|
// i is already the size of s. I've used strlen to follow the 'hints' |
|
|
// i is already the size of s. I've used strlen to follow the 'hints' |
|
|
// section. |
|
|
// section. |
|
|
|
|
|
putc('\"', stdout); |
|
|
for (i = strlen(s) - 1; i >= 0; --i) { |
|
|
for (i = strlen(s) - 1; i >= 0; --i) { |
|
|
putc(s[i], stdout); |
|
|
putc(s[i], stdout); |
|
|
} |
|
|
} |
|
|
|
|
|
putc('\"', stdout); |
|
|
} |
|
|
} |