• What will happen if I pass an element of a 'char' array to a function expecting an int
    I know this is probably a basic question about storing of variables in memory but... First, if I take a 16bit integer, split it into 2 bytes, then place these into adjacent elements in a char array...
  • What will happen if I pass an element of a 'char' array to a function expecting an int
    I know this is probably a basic question about storing of variables in memory but... First, if I take a 16bit integer, split it into 2 bytes, then place these into adjacent elements in a char array...
  • array adding int.
    I'm trying to fill an array with a rotating counts then add the all up each time the sub is called. When I simulate this code I never see the i++ index. I guess keil supports i++ by itself. i++;...
  • array adding int.
    I'm trying to fill an array with a rotating counts then add the all up each time the sub is called. When I simulate this code I never see the i++ index. I guess keil supports i++ by itself. i++;...
  • Array indexing with unsigned int
    C251 v3.12 The C251 compiler does not handle arithmetic for array indices consistently. Consider char tt[30] ; char test ; unsigned char aaa = 27 ; unsigned int bbb = 27 ; test = tt[aaa - 20] ;...