📅  最后修改于: 2022-03-11 14:52:42.338000             🧑  作者: Mango
//The primitive datatype int isn't nullable.
//What you can do is set its value to 0
char [] c= {'a','b','c','d'};
c[2] = 0; //now c becomes {'a','b',0,'d'}