Array initialization - cppreference.com

en.cppreference.com

Tin mới

You are encouraged to create an account and log in; however, it is not mandatory

You are encouraged to log in; however, it is not mandatory [o]

Discussion about the content page [t]

This page is protected. You can view its source [e]

Past revisions of this page [h]

c/compiler support

Variadic function support

Dynamic memory management

Date and time utilities

Input/output support

Localization support

Concurrency support

Technical Specifications

c/language/basic concepts

c/language/statements

c/language/expressions

c/language/initialization

c/language/declarations

c/language/functions

c/language/history

Scalar initialization

Struct and union initialization

c/language/string literal

When initializing an object of array type, the initializer must be either a string literal (optionally enclosed in braces) or be a brace-enclosed list of initialized for array members:

order of evaluation

When initializing an object of array type, the initializer must be either a string literal (optionally enclosed in braces) or be a brace-enclosed list of initialized for array members:

constant expression

When initializing an object of array type, the initializer must be either a string literal (optionally enclosed in braces) or be a brace-enclosed list of initialized for array members:

c/language/storage duration

When initializing an object of array type, the initializer must be either a string literal (optionally enclosed in braces) or be a brace-enclosed list of initialized for array members:

Special:Categories

Pages using deprecated source tags

Pages using deprecated enclose attributes

A list of recent changes in the wiki [r]

A list of all wiki pages that link here [j]

Recent changes in pages linked from this page [k]

A list of all special pages [q]

Permanent link to this revision of this page

More information about this page