I learned how to program in C++, but all my courses this coming year are in C or Java (I'm pretty sure). I know my Data Structures course is going to be in C. So I've been focusing on learning more C this summer, and some things about C confuse me.
I'm finally understanding strings inside out, in any language. So I have a few things left to understand in C:
- What the heck is a function pointer? Why would you use one?
- Whats the purpose of a pointer to a pointer (such as char **t). I think it would be like, an array of pointers. For example I know how to manipulate char **argv, the same way I know how to manipulate char *argv[]. Is this why you use pointers to pointers? For manipulating arrays of pointers? Is there any other use?
- I'm a little confused on extern variables, and more confused about extern functions if these even exist.
Theres others that I can't think of off the top of my head. I'll try to remember some of them and post here.