I am only learning C and I am trying to loop though an array of strings and then convert to a byte array using sscanf.
#define BYTE   unsigned char
char stringarray[][3]
{
    "98D9C2327F1BF03",
    "98D9EC2327F1BF03",
    "98D9EC2327F1BF03",
}
int main()
{   
    size_t i = 0;
    for (i = 0; i < sizeof(stringarray) / sizeof(stringarray[0]); i++)
    {
        char hexstring[] = stringarray[i], *position[] = hexstring;
        BYTE HexByteArray[8];
        size_t count= 0;
        for (count = 0; count < sizeof(HexByteArray) / sizeof(HexByteArray[0]); count++) {
        sscanf(position, "%2hhx", &HexByteArray[count]);
        position += 2;
        }       
    }
     return 0;
}
Error using visual studio 2013
initializing' : cannot convert from 'char [3]' to 'char []
initialization with '{...}' expected for aggregate object
 
     
    