p = x; //Works only for arrays! p = &x; //Works for arrays or variables p = &x[0]; //This one is the most obvious