Size of nickBuf returns 4 because you are asking for the size of the pointer.