Hi All
is there a difference between
andCode:char *prt = "hello"
I noticed because I got a 'Bus error' when I doCode:char prt[] = "hello"
but it works when I use ptr[]!Code:#include <string.h> #include <stdlib.h> #include <stdio.h> main(){ char *prt = "abc=def" ; char *out = strtok(prt, "=") ; }
thnx
LuCa