Doubt about str

how did str become null after the first token

hello @av8055
no str will not be NULL after first token.

we are passing NULL inside strtok function becuase we have already passed str once(the very first function call where we passed str) and we want to use the same instead of reinitilaising it (if we pass str again in place of NULL then we will keep getting same result again n again becuase it will get reinitialised again n again)