Help for this page

Select Code to Download


  1. or download this
    $ perl -E'sub { $_[0]="fred"; }->($i++); say $i'
    1
    
    $ perl -E'sub { $_[0]="fred"; }->(++$i); say $i'
    fred
    
  2. or download this
    #include <stdio.h>
    
    ...
        printf( "x: %d \n", x );
        return 0;
    }
    
  3. or download this
    $ g++ -o a a.cpp && a
    a: 2, b: 2
    x: 4