經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供