i think that every string array ends with a NULL charcter but in thiss program the statment of checking if the last charcter of the string array is not True
#include <stdlib.h>
#include <stdio.h>
int main() {
char hey[5]="hello";
if(hey[5] == NULL){
puts("Yes the last charcter is a NULL ");
}
return 0;
}
and also if NULL is \0 why when i try if (NULL == "\0") the statement is always False ?