Q:

The pointer(s) passed to these routines must point to null-terminated array(s)

0

The pointer(s) passed to these routines must point to null-terminated array(s).

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

char ca[] = {'C', '+', '+'}; // not null terminated
cout << strlen(ca) << endl; // disaster: ca isn't null terminated

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now