Compound literal expressions

A compound literal is a postfix expression that provides an unnamed object whose value is given by an initializer list. The C99 language feature allows you to pass parameters to functions without the need for temporary variables.

A static vector variable can be initialized with a compound literal of the same type, provided that all the initializers in the initializer list are constant expressions.

For more general information about compound literal expressions, see Compound literal expressions in z/OS XL C/C++ Language Reference.