Hi,
Can someone explain the following occurrence to me?
unsigned int i;
i = strlen("testData");
printf("%d\n", i);
Output:
8
5
Why is it printing the extra 5?
[Update:] After reading the comment, I stupidly realized where the 5 was coming from, sorry!