什么是与以下code潜在的问题?短富(){短,B,C; B = 10; C = A + B;返回℃; } [英] What are potential issues with the following code? short foo() { short a,b,c; b=10; c = a + b; return c; }
本文介绍了什么是与以下code潜在的问题?短富(){短,B,C; B = 10; C = A + B;返回℃; }的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是与以下code潜在的问题?
短富()
{
短,B,C;
B = 10; C = A + B; 返回℃;
}
解决方案
变量没有被初始化。它有一个不确定的值。
What are potential issues with the following code?
short foo()
{
short a,b,c;
b=10;
c = a + b;
return c;
}
解决方案
Variable a was not initialized. It has an indeterminate value.
这篇关于什么是与以下code潜在的问题?短富(){短,B,C; B = 10; C = A + B;返回℃; }的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文