Help for this page

Select Code to Download


  1. or download this
    #include <stdio.h>
    int sum_and_diff (int a, int b, int *res)
    ...
        sum_and_diff (5, b, &diff));
        printf ("The difference of 5 and %d is %d\n", b, diff);
    }
    
  2. or download this
    SCALAR(0x60008a730) --> reference to a scalar
    ARRAY(0x60008a828)  --> reference to an array
    REF(0x600003e80)    --> reference to a reference
    
  3. or download this
    $$x  # dereference reference to scalar (if $x is a scalar)
    @$x  # dereference reference to array (if $x is reference to an array)
    @$$x # dereference reference to reference of an array