Is there any difference between a null and an empty string with respect to C Programming?
Null String vs Empty String
They are different. A NULL string does not have any value it is an empty char array, that has not been assigned any value.
An empty string has one element , the null character, ‘\0’. That’s still a character, and the string has a length of zero, but it’s not the same as a null string, which has no characters at all.
@M17CRX0057 if this resolves your doubt mark it as resolved.