A Pointer does not store a value directly like variables. It simply store the reference of another value. The variable the pointer is refers to is called "pointee".
#includeint main(){ int a; int *ptr; a=42; ptr=&a; printf("%d\n",*ptr); return 0; }
No comments:
Post a Comment