• YaBoyMax@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    I think you’ve got it backwards. I learned to read pointer decls from right-to-left, so const int * is a (mutable) pointer to an int which is const while int *const is a const pointer to a (mutable) int.