Also, could you please clarify what this means:
Code:
file type *variable name;
What does the * mean?
Some tell me that when you see that, it jsut meanst that the variable is a pointer.
Others tell me * is "pointer to file type"
So for example:
Code:
char *i_hate_pointers;
The code above tells the compiler that i_hate_pointers is of type "pointer to char"
Also, does the file type of a pointer for the value to which it is pointing to?
Code:
char *i_hate_pointers;
*i_hate_pointers variable will point to a variable which has a char as the type in it. Is this correct?