\begin{frame}[containsverbatim] \frametitle{\secname} \framesubtitle{\subsecname~: L'opérateur [ ]~VII} La syntaxe précédente combinée aux énumérations permet une très élégante syntaxe. \vspace{0.5cm} \begin{exampleblock}{Tableau, initialisation et énumérations} \begin{verbatim} enum Fruits { POMME, FRAISE, ORANGE }; int tableau[3] = { [POMME] = 10, [FRAISE] = 23, [ORANGE] = 5 };\end{verbatim} \end{exampleblock} \end{frame}