New answers tagged


RE: // Do I need to put sizeof(word) + 1 or is sizeof(string) giving me enough // space for the null character? Neither. Are you confusing sizeof with strlen? word is a pointer, sizeof(word) is 8 on the IDE, regardless of the length of the word.

Top 50 recent answers are included