Right i have the following:
ThanksCode:char *G_PTR = NULL //its a global in a module i have this char * ptr func(&ptr) void func (char *ptr); { //lets say G_PTR has been assigned some values //so how do i assign the value in G_PTR to ptr? //tried different options *ptr = G_PTR ptr = G_PTR }