26.11.2010, 00:33
Yes, let's get the string length of an undefined string, GREAT IDEA.
Because obviously a string of "" is 0.
string[50] = "This forum is full of dumbasses";
sizeof(string) = 50
strlen(string) = 31
Because obviously a string of "" is 0.
string[50] = "This forum is full of dumbasses";
sizeof(string) = 50
strlen(string) = 31