Hello all.
I don't know whether this is a good place to post this kind of things but I don't know anywhere else where the posters are intelligent enough as you guys.
ok...I have a very very serious problem with pointers in C.
I read my book (Efficient C Programming by Weiss) multiple times but I simply cannot understand about pointers.
Like what's the difference betwee int *x; and int* x?
The worst problem I have is when there's a function like
void* int (void). what's that pointer to a void doing?
Also another problem I have is, when I want to return a pointer to an array as the returning value of the function, how can I do it?
Any help is appreciated!
I'd very much appreciate it if someone can really explain to me all about pointers.
I don't know whether this is a good place to post this kind of things but I don't know anywhere else where the posters are intelligent enough as you guys.
ok...I have a very very serious problem with pointers in C.
I read my book (Efficient C Programming by Weiss) multiple times but I simply cannot understand about pointers.
Like what's the difference betwee int *x; and int* x?
The worst problem I have is when there's a function like
void* int (void). what's that pointer to a void doing?
Also another problem I have is, when I want to return a pointer to an array as the returning value of the function, how can I do it?
Any help is appreciated!
I'd very much appreciate it if someone can really explain to me all about pointers.