A null pointer access probably wouldn't come from an array overrun. Both are problems, but probably different ones.
What's bugging me is the use of {} here:
I'm not sure if it's actually wrong, but it is strange.Code:char s[]={"this is a simple string"}; char t[]={"is"};




Reply With Quote