Difference between NULL and '\0'

Can we use either of the two as an argument in strtok () function?

Hi @Harshit-Jha-2364832040305354 NULL is a macro which is defined as null pointer constant, ie void* whereas \0 is a representation of the null character, which is a byte whose all bits are 0.
In practice, there is not much difference between the two, they are used rather on the basis of context. Like in a string, you’d use ‘\0’ because it is a character and strings are a collection of characters. NULL is usually used where pointers are involved.
To answer your question, yes you can use either of them as an argument for strtok() function.

I didn’t understand a single thing what the tutor taught in this lecture.

@Harshit-Jha-2364832040305354 do you have any more doubts regarding this topic?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.