why are we pass in string as pointer why cant we pass it normally
Creating custom strtok()
hello @abhayg1602
in actual strtok we pass pointer , so to make our custom strtok similar to actual strtok, we r passing it pointer, no other reason
why are we pass in string as pointer why cant we pass it normally
hello @abhayg1602
in actual strtok we pass pointer , so to make our custom strtok similar to actual strtok, we r passing it pointer, no other reason