Which of the following escape sequences placed at the end of a string makes the string a Null Terminated String?

Which of the following escape sequences placed at the end of a string makes the string a Null Terminated String? Correct Answer ‘\0’

The ‘\0’ when placed at the end of a string makes it a null terminated string which is simply a single dimensional array of characters that are trailed by the ‘\0’ escape sequence. It is also called the ASCII NUL character.

Related Questions

Point out the error (if any) in the following C code?
#include #include int main(void){ int* p = NULL; struct S *s = NULL; void(*f)(int, double) = NULL; char *ptr = malloc(15); if (ptr == NULL) printf("Out of memory"); free(ptr);}