We’ve updated our Terms of Use to reflect our new entity name and address. You can review the changes here.
We’ve updated our Terms of Use. You can review the changes here.

Indirection Operator

from Kubark​.​pdf by Ave Grave

/
  • Streaming + Download

    Includes unlimited streaming via the free Bandcamp app, plus high-quality download in MP3, FLAC and more.
    Purchasable with gift card

      $1 USD  or more

     

about

A basic example of multiple pointer indirection is the argv argument to the main function in C (and C++), which is given in the prototype as char **argv. The name of the invoked program executable, as well as all command line arguments that followed, are stored as independent character strings. An array of pointers to char contains pointers to the first character of each of these strings, and this array of pointers is passed to the main function as the argv argument. The passed array itself "decays" to a pointer, thus argv is actually a pointer to a pointer to char, even though it stands for an array of pointers to char (similarly, the pointers in the array, while each formally pointing to a single char, actually point to what are strings of characters). The accompanying main argument, argc, provides the size of the array (i.e. the number of strings pointed to by the elements of the array), as the size of an (outmost) array is otherwise lost when it is passed to a function and converted to a pointer. Thus, argv is a pointer to the 0th element of an array of pointers to char, *argv, which in turn is a pointer to **argv, a character (precisely, the 0th character of the first argument string, which by convention is the name of the program).

credits

from Kubark​.​pdf, released February 8, 2019

license

all rights reserved

tags

about

Ave Grave Berlin, Germany

Sean Christopher Galloway is a Berlin-based musician. Under his Ave Grave moniker, Galloway creates textural music using field recording techniques and bits of manipulated melodic sound. Combining these layered sounds with soft spoken pieces of traditional songwriting, Ave Grave creates a nuanced, quiet world; a place both wonderful and strange. ... more

contact / help

Contact Ave Grave

Streaming and
Download help

Shipping and returns

Redeem code

Report this track or account

Ave Grave recommends:

If you like Ave Grave, you may also like: