Doubt is mentioned in the comment provided in the link.
Char Array || Size when null character is not inserted
hey @VarIsh, when to mention each character in array, it will not include NULL character,but if you initialised the array with string then it takes NULL character too. Check this
https://ide.codingblocks.com/s/111354