157. Read N Characters Given Read4
Input:
buf ="abc", n = 4
Output:
"abc"
Explanation: The actual number of characters read is 3, which is "abc".Input: buf = "abcde", n = 5
Output: "abcde"Previous273. Integer to English WordsNext158. Read N Characters Given Read4 II - Call multiple times
Last updated
Was this helpful?