+ 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.

23rd Jan 2019, 5:39 AM
Vinayak Sharma
Vinayak Sharma - avatar
1 Answer
+ 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 😇
23rd Jan 2019, 3:30 PM
Kelvin Paul
Kelvin Paul - avatar