Computer Science, asked by rahules2911, 1 year ago

Difference between name+10 and * (name+10); in pointers in c programming?

Answers

Answered by pratibha4089
3

Suppose the name is variable and it's value is 5 (actually it may be anything)

So here name + 10=15

Also *(name +10) is a pointer , as it is preceeded by*(asterisk).

A pointer is a variable that stores address of another variable.

Hope it will help you!

Similar questions