String Character Length: Difference between revisions

Content deleted Content added
→‎[[Haskell]]: fixed broken code
Line 47: Line 47:
{
{
const char *string = "Hello, world!";
const char *string = "Hello, world!";
int length = 0;
size_t int length = 0;
char *p = (char *) string;
char *p = (char *) string;