Character array

if we will not put put \0(null) character while initializing character array,what differerences will it have while operating in it than when it was initialized with null character

Hey @KetanPandey character arrays are initialized with null character because it denotes the end
of the string inside character array.
for example if character array contains hello without null character then when you print it it will be
printed until it encounters a null character. so after printing hello there may or may no be some garbage
printed. So its important to initialize it with null character.