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

unsigned var; give an undefined behaviour #508

Open
rghouzra opened this issue Jul 31, 2024 · 1 comment
Open

unsigned var; give an undefined behaviour #508

rghouzra opened this issue Jul 31, 2024 · 1 comment

Comments

@rghouzra
Copy link

rghouzra commented Jul 31, 2024

No description provided.

@rghouzra
Copy link
Author

`int main()
{
unsigned var;

return (var);
}`
int this example norminette will consider var as a type it will keep looking for next token and give some false errors
in most modern os unsigned will be interpreted to unsigned int

@rghouzra rghouzra changed the title unsigned var; unsigned var; give an undefined behaviour Jul 31, 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