fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int v[4] = {0x0A, 0xBB, 0x4B, 0x18};
  5. int resultado = 0;
  6. for (int i = 0; i < 4; i++) {
  7. resultado *= 256;
  8. resultado += v[i];
  9. }
  10. printf("%08X", resultado);
  11. }
  12.  
  13. //https://pt.stackoverflow.com/q/51965/101
Success #stdin #stdout 0s 4576KB
stdin
Standard input is empty
stdout
0ABB4B18