Pass it "Hello World" and 5, and it returns "Hello". char* basicLeftString(const char *str, int i) { strncpy(outputString, (char*)str, i); // copy to ...
確定! 回上一頁