"No , it should not because in my first thread(i copy paste below) , p is an allocated pointer and q is not an allocated pointer." . . . .