Undefined values: Difference between revisions
Content added Content deleted
Line 72: | Line 72: | ||
</pre> |
</pre> |
||
=={{header|C |
=={{header|C|C}}== |
||
<lang C> |
<lang C> |
||
#include<stdlib.h> |
#include<stdlib.h> |
||
Line 98: | Line 98: | ||
i is undefined. |
i is undefined. |
||
</lang> |
</lang> |
||
=={{header|C sharp|C#}}== |
=={{header|C sharp|C#}}== |
||
In C# it's important to see the difference between reference and value types. For reference types (class instances) there is <code>null</code> as a general undefined reference. |
In C# it's important to see the difference between reference and value types. For reference types (class instances) there is <code>null</code> as a general undefined reference. |