Help for this page

Select Code to Download


  1. or download this
    my ( $x, $y );
    
    ...
    print("b = $$b\n");  # 15
    print("x = $$x\n");  # 14
    print("y = $$y\n");  # 15
    
  2. or download this
    x = new int;
    *x = 14;
    
  3. or download this
    if (y == NULL) {
       y = new int;
    }
    *y = 15;