c - Still getting

c - Still getting "stack smashing detected" error even getting correct ...

瀏覽:483
日期:2025-06-12
When you do char text[] = "a world";. you create an array of only 8 characters (the string and the terminating zero). When you replace the sub-string "a" ......看更多