Skip to content

Remove 'B' from this example #67

@roddar92

Description

@roddar92

Request to http://en.cppreference.com/w/c/string/byte/strlen with strlen function

int main(void) {
const char str[] = "How many characters does this string contain?";
В
printf("without null character:В %zu\n", strlen(str));
printf("with null character: В %zu\n", sizeof str);
В
printf("without null character:В %zu\n", strnlen_s(str, sizeof str));
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions