Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Murray (0.19 sec)

  1. doc/go1.17_spec.html

    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &s1[2] == &a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &s2[1] == &a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    </pre>
    
    
    <h4>Full slice expressions</h4>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top