confirm c pointer understaning