Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'B' from this example #67

Open
roddar92 opened this issue Dec 17, 2016 · 0 comments
Open

Remove 'B' from this example #67

roddar92 opened this issue Dec 17, 2016 · 0 comments
Assignees
Labels

Comments

@roddar92
Copy link
Collaborator

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));
}

@roddar92 roddar92 added the bug label Dec 17, 2016
@roddar92 roddar92 self-assigned this Dec 17, 2016
@roddar92 roddar92 changed the title Remobe 'B' from this example Remove 'B' from this example Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant