A
arnuld
at the very beginning of the chapter, i see some statements i am
unable to understand. i know the "Pointer" takes the address of a
variable, useful if, in case, we want to manipulate that variable as
each Function gets its private copy of arguments:
char c;
char** ppc; // what is the use of "pointer to pointer"
int* a[15]; // why it is necessary to have "an array if pointers"
instead of array of "int"
int (*fp) (char*); // we can call a function by using its name, then
why "pointer to a function" here.
int* f(char*); // i am unable to comprehend this.
OR
at this newbie "point", i dont need to understand this stuff. In one
of the "comp.lang.c++" archives, i read that these things become
easier and problems like this disappear as soon as one starts building
real life softwares or one does some real-life coding using C++.
unable to understand. i know the "Pointer" takes the address of a
variable, useful if, in case, we want to manipulate that variable as
each Function gets its private copy of arguments:
char c;
char** ppc; // what is the use of "pointer to pointer"
int* a[15]; // why it is necessary to have "an array if pointers"
instead of array of "int"
int (*fp) (char*); // we can call a function by using its name, then
why "pointer to a function" here.
int* f(char*); // i am unable to comprehend this.
OR
at this newbie "point", i dont need to understand this stuff. In one
of the "comp.lang.c++" archives, i read that these things become
easier and problems like this disappear as soon as one starts building
real life softwares or one does some real-life coding using C++.