Hi buddies,
char *cTest = new char[10];
printf(" \nThe strlen(cTest) is : %d\n",strlen(cTest));
The output of this printf statement should be 10 but itz giving 14.
help please, why it so..
regards,
ashok
Hi buddies,
char *cTest = new char[10];
printf(" \nThe strlen(cTest) is : %d\n",strlen(cTest));
The output of this printf statement should be 10 but itz giving 14.
help please, why it so..
regards,
ashok