To tylko fragment tej notatki. Zaloguj się aby zobaczyć ten dokumentZobacz
całą notatkę
Podgląd dokumentu
Fragment notatki:
Pointers and arrays • The name of an array is a synonym for the location of the initial element • Example: double x[5]; double *p; p = x; /* the same as p = &(x[0]); */ *p = 17; p++; /* now p points to x[1] */ *p = 19; /* here x[0]=17, x[1]=19 */
... zobacz całą notatkę
Komentarze użytkowników (0)