02 December, 2010

char *p="string" is actually faster than char p[]="string"

char *p="string" is faster because we don't need to copy the string to current stack, however, we need to do that when using char p[]

No comments: