+ 1
Can anyone give me an example of a C program using arrays and hexadecimal values? PLEASE...
Actually, I want to set my array index values to a hexadecimal value. Can anyone please help me with that. Any Help Would Be Appreciated.
1 ответ
+ 2
https://www.includehelp.com/c/working-with-hexadecimal-values-in-c-programming-language.aspx
#include <stdio.h>
int main() {
int x[0xff];
printf("%d",sizeof(x));
return 0;
}
I think,Please use your hexadecimal value, that's automatically converted into binary by the compiler 😇