\begin{frame}[containsverbatim]
  \frametitle{\secname}
  \framesubtitle{\subsecname}
  \begin{exampleblock}{helloworld.c}
    \begin{verbatim}
#include <stdio.h>

/** Function main

Displays a fixed message on standard output
@returns int the status code : 0 = success
*/
int main() {
    puts( "Hello, World" ) ; /* This is a comment */
    return 0 ; 
}
    \end{verbatim}
  \end{exampleblock}
\end{frame}
