void identification function 脱空判别函数
Does a function that returns a constant work slower than a void function?
一个函数返回一个恒定的工作比函数慢吗?
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语言中,正确的方法是说明,没有任何东西进入到这个函数中来;,所以我明确地在这里指明。
When we start talking to the library about something, we call a function called newsession that returns a void pointer (not an unusual way to organize things).
当我们开始与库交流时,我们调用一个名为 newsession 的函数,它会返回一个空指针(这是组织事情的惯用方法)。
But it's the really correct way to specify that this function takes no arguments is to actually write this key word "void."
但是这的确是正确的方法来指明,这个函数是没有参数,实际上是写了这个关键字“void“
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语言中,正确的方法是说明,没有任何东西进入到这个函数中来;,所以我明确地在这里指明。
应用推荐