 |
arrays - C - Invalid Initializer - Stack Overflow
Unless you plan on manipulating the second array you can also use a pointer: int main(void){ char textStr[50] = "hello worlds!"; char *revS = textStr; printf("%s\n", revS); } If you want to get really crazy you can point to a specific location in the
stackoverflow.com |
 |