Skip to content

Gives error when an empty array is declared #6439

@sahin52

Description

@sahin52

char line[80]={};
This line shows an error, which mustn't happen
if I write like this:
char line[80]={'a'};
it doesn't give error.
I have downloaded gcc, but I couldn't use it for debug while writing code.
OS: windows 10
VS Code: latest version 2020-11-4
Other extensions: No related extension for this problem.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions