hi,
more than super easy.
The syntax of printf is
printf( string, ... ) ;
The first par may be a string as "ABC\n", and it prints and stop.
Alt. it can be a format string as
"%s" or
"%d% or
"%s %d"
"%s %s %d ......
In these cases, after the format string, you have to
follow variable to print
printf( "%d\n", omode ) ; or
printf( "The result is %d\n", omode ) ; or
printf( "%s %d\n", "The result is", omode ) ;
bye.