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

missing error on abc[4] = "abcd" #161

Closed
thradams opened this issue Mar 13, 2024 · 2 comments
Closed

missing error on abc[4] = "abcd" #161

thradams opened this issue Mar 13, 2024 · 2 comments

Comments

@thradams
Copy link
Owner

int main() {
char abc[4] = "abcd"; // missing error
char def[4] = "abd"; // OK
}
@thradams thradams changed the title missing error missing error on abc[4] = "abcd" Mar 13, 2024
@thradams
Copy link
Owner Author

also - no space for null

`char a[3] = "abc"; 

@thradams
Copy link
Owner Author

thradams commented Aug 9, 2024

fixed

@thradams thradams closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant