kllrnohj
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
1036 ms·
- 3151.▲
- 3152.▲
- 3153.▲
- 3154.▲
- 3155.▲
- 3156.▲
- 3157.▲
- 3158.▲
- 3159.▲
- 3160.▲
- 3161.▲
- 3162.▲
- 3163.▲
- 3164.▲
- 3165.▲
- 3166.▲
- 3167.▲
- 3168.▲
- 3169.▲
- 3170.▲
- 3171.▲
- 3172.▲
- 3173.▲
- 3174.▲
Spec defines any remaining elements to be initialized to 0. You can even do sparse initialization if we're talking C99 here, like so: int array[] = {1, 2, 3, [99] = -1} And you'll get an array of length 100 {1, 2, 3, 0, 0, 0, ..., - 3175.▲
- 3176.▲
- 3177.▲
- 3178.▲
- 3179.▲
- 3180.▲
More ›