Хоть char и относится к integer (и, таким образом, следует всем их правилам), работа с char несколько отличается, чем с обычными целочисленными типами. Переменная этого типа занимает 1 байт.
int a = '1'; char b = (char) a; System.out.println(b); I will get 1 as my output. Can somebody explain this? And if I want to convert an int to a char as in the
OK so I don't get yelled at I did search the forums and there is a very similar question, I'm just having a little difficulty understanding what is meant.
char x = '0'; int y = '0'; char z = 48
However, not all single char store inside the cipherText can be store inside iobuf ... Is it char problem that cant store some encrypted data ?
static char binstr[5]; char hexdigits[] = "0123456789ABCDEF"; char *h; int bit
But my doubt is How do i store char into character array ? For Example: i values are 65,66,67 and so on.. & Am converting into equivalent characters like 'A','B','C' & so on.. And, I want to store these A,B,C characters into Character array.. Please suggest me some ideas..