Answers for "is there a way to clear char array"

C++
0

c++ clear char array

for ( int i = 0; i < sizeof(message);  i++ ) {
    message[i] = (char)0;
}
Posted by: Guest on September-03-2021

Code answers related to "is there a way to clear char array"

Browse Popular Code Answers by Language