News

It's not possible, char* doesn't come with any information about the size of the buffer it's pointing to. If I want to return char array to java, what should I do?
// Write a function that reverses a string. The input string is given as an array of characters char[]. // Do not allocate extra space for another array, you must do this by modifying the input array ...