Accessing a pointer pointer (c)

1

Why when dropping a level on the pointer pointer ** lista / * lista we should use the parentheses: ( * lista ) , I ask the question because I saw in some internet examples that they did not use and also in an old book that I got To read another day. In C ++ this 'mode' of access is used by increasing the positions in certain cases, right?

    
asked by anonymous 17.04.2017 / 23:04

1 answer

1

You should always take into account the value of operator precedence, as it has a direct effect on what you want to get from the data you are manipulating. Parenteses takes precedence over the '->' operator, so it has effect on the data that will be submitted to the next operator, in case '->'

    
18.04.2017 / 04:04