So it turns out that, main, yes, is the default function you write, at least in C, when writing a program.
结果是,main函数,是的,这是你写的默认函数,至少是在C语言中,当写程序的时候。
If you pass a function in C, a value that it's not expecting bad things happen and bad things generally reduce to segfault.
如果你在C中传递一个函数,一个没有预料的情况将会出现,这个情况通常是段错误。
In C, the truly correct way is to be very pathantic and say, ; nothing is coming into this function; void so I'll explicitly say, void here.
在C语言中,正确的方法是说明,没有任何东西进入到这个函数中来;,所以我明确地在这里指明。
应用推荐