I have a main.c code (cannot be changed) :
int main() {
uint8_t *param ;
param = func(key) ;
}
Key is an array of 16 elements and func is declared in a stud.c that is linked to main by stud.h. the func() is declared as follows
void *func(void *key){//some code}
Now how can i print param ? i have tried multiple options with printf . Is there any suggestion plZ ? I need the param as an array of 16 elements in hex format also. I cannot change anything in main.c (i cannot change any type!!!)
for(int j = 0; j < 16; j++) {
printf("%02X ", param[j]);
}
printf("\n");