In the linux system programing ,the pointer is important part.
so,we will see a simple example using the pointer. I hope it can help you know the pointer in the parameter transmit,the point function.
#include <stdio.h> char *input(void) { char *word; word="www.eepw.com.cn"; return word; } int main(void) { char *p; p=input(); printf("p=%s\n",p); return 0; }
it can be compiled in ubuntu 12.04 using gcc compile tool.