c++ - Does anyone know about char a[' ']? -


what is char a [']] what really happens? I did not find it in the web. I tried to do it by myself, and it takes the dynamic array of fours in the programming, what is the purpose and purpose of the code?

In this definition

  four one [];  

The character is promoted literally "int" and its value is used as the size of the array. For example, the value of '' in ASCII is equal to 32. So this is equivalent to

  char a [32];  

Keep in mind that the value of character in EBCDIC is not equal to 32 'and if I am not wrong then 64 is equal.

The size of the array will be different on selected coding.

For ASCII

  four [32];  

for EBCDIC

  four [64];  

Comments