Domanda di colloquio di MathWorks

p++ means?

Risposte di colloquio

Anonimo

20 mar 2011

i think if its the array pointer itself, we cannto increment it and it will generate an error. if its a seperate pointer then it would be the next element.

2

Anonimo

20 set 2015

if P points to an array in C, it is actually pointing to the first element in that array, and P holds the address of whatever it is pointing to, rather than the value its self. So P++ will give you the next element in the array.

2

Anonimo

4 lug 2011

simply p = p+1 :)

Anonimo

11 mar 2010

everybody know it.