📜  c++ clear char array - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:53.939000             🧑  作者: Mango

代码示例1
for ( int i = 0; i < sizeof(message);  i++ ) {
    message[i] = (char)0;
}