标签:
The difference of 0 & ‘0‘ & ‘\0‘
------------------------------------------------------------
0 is a number(decimal).
------------------------------------------------------------
‘0‘ is a char. It‘s ASCII equal 48(decimal).
------------------------------------------------------------
‘\0‘ means the end of a string. It‘s ASCII equal 0(decimal).
C Language Study - 0 & '0' & '\0'
标签:
原文地址:http://blog.csdn.net/oimchuan/article/details/43876213