You don't know what a character pointer is but you want to access certain memory locations?
You don't know what a character pointer is but you want to access certain memory locations?
Suppose you have a character variable c.
then a char * is a variable that points to this variable i.e. store its address.
For eg we have
char c;
char *pc;
pc = &c;
this implies pc contains address of c variable. Similarly you can have pointers to any variable, structure, function etc.
You should go through pointers in depth before jumping into this topic.
I've got to try this.
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry