‘char *' differs in levels of indirection from 'int'时间:2024-04-15 13:05:01这个问题是有与和系统变量重名导致的,如 char* ans = (char*) malloc(10);系统变量是一个int。