c语言太easy笔误的,这将做

调试发现时间写的一样NB代码

test.c

int add(string);

int main()
{
	char* p = "11222";
	add(p);
	return 0;
}

int add(string)
{
	return 0;
}


使用c编译类型不能写。默认类型为int。太easy一个错字,右

posted @ 2015-06-26 10:21  lcchuguo  阅读(153)  评论(0编辑  收藏  举报