How do you empty a char?
How do you empty a char? 10 Answers. You can use c[i]= ‘\0’ or simply c[i] = (char) 0 . The null/empty char is simply a value of zero, but can also be represented as a character with an escaped zero. How do you set a char array to null? If you’re talking about an […]