default initialization of char arrays

Walter Bright newshound2 at digitalmars.com
Mon Sep 8 15:50:06 UTC 2025


You can also use this for default initialization of structs:

```
struct S { int a=1,b=2,c=3; char[10] x = 0; }
```


More information about the Digitalmars-d mailing list