int is need to be inited by 0, or else use int * is easy to cause runtime error.