結果 : get length of char array cpp