Believe it or not, they do exist
Please clarify what's wrong with the code in their first example. It works fine when using Clang in macOS with the -fsanitize=address flag.
regards.
Thanks for the comment, Rodrigo.
Somehow I changed the <= to < when moving the code into the article - sorry about that!
Fixed.
Thank you. Might be a typo: printf("Done!\\n"); . Did you meant : printf("Done!\n");
Yeah, it seems all the backslashes are doubled for some reason...
I will have to be more careful. Also, the substack editor is not great.
Cheers.
Please clarify what's wrong with the code in their first example. It works fine when using Clang in macOS with the -fsanitize=address flag.
regards.
Thanks for the comment, Rodrigo.
Somehow I changed the <= to < when moving the code into the article - sorry about that!
Fixed.
Thank you. Might be a typo: printf("Done!\\n"); . Did you meant : printf("Done!\n");
Yeah, it seems all the backslashes are doubled for some reason...
I will have to be more careful. Also, the substack editor is not great.
Cheers.