函数返回值
- 与 函数返回值 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
If the function succeeds, the return value is a pointer to the first byte of the memory block.If the function fails, the return value is NULL.
如果函数执行成功,返回值就是指向内存对象首字节指针,否则返回NULL。
-
However, thesemethods can return any value, so if the comparison operator is used in a Booleancontext (e.g., in the condition of an if statement), Python will call
但是这些方法也可以返回任何值,所以如果比较运算发生在布尔上下文中(例如 if 语句中的条件测试),Python会在返回值上调用函数
-
The reason that these functions return an int is to allow them to return an end-of-file marker.
这些函数返回 int 值的原因是为了允许它们返回一个文件结束标记。
-
In pre-Standard C++, a function without an explicit return type was assumed to return an int.
在 C++标准化之前,如果缺少显式返回类型,函数的返回值将被假定为 int 型。
-
Already can return of value, also need not the function of return of value.
既可以返回值,也可以不返回值的函数。
-
Those local variables, parameter and function declarations have the values that they had when the outer function returned and may be interacted with by the inner function.
这些内部变量,参数和函数定义都有一个值可以用在外部函数返回时可以同内部函数进行交互。
-
A function that returns a reference returns an lvalue.
返回引用的函数返回一个左值。
-
Note the check on the return value of down_interruptible; if it returns nonzero, the operation was interrupted.
注意检查down_interruptible函数的返回值;如果它返回非零值,表示操作被中断。
-
If the app doesn't want to do anything special for this ID, it returns NULL, and the window function senses this and news up the appropriate default object.
如果程序不需要这个ID,则返回NULL,窗口函数根据返回值创建恰当的默认对象。
-
We reconverted the result from int back to a float so that you can visu- alize the results more clearly when compared to the output of the other two functions.
的例子用四个正数和四个负数作为这三个函数的参数,将返回结果列在一起做个比较。(为了便于比较,我们将int函数的返回值也转换成了浮点数)。
- 推荐网络例句
-
As she looked at Warrington's manly face, and dark, melancholy eyes, she had settled in her mind that he must have been the victim of an unhappy attachment.
每逢看到沃林顿那刚毅的脸,那乌黑、忧郁的眼睛,她便会相信,他一定作过不幸的爱情的受害者。
-
Maybe they'll disappear into a pothole.
也许他们将在壶穴里消失
-
But because of its youthful corporate culture—most people are hustled out of the door in their mid-40s—it had no one to send.
但是因为该公司年轻的企业文化——大多数员工在40来岁的时候都被请出公司——一时间没有好的人选。