fork download
  1. #include <stdio.h>
  2.  
  3. #define SIGNATURE ((unsigned [100]){0x78,0x9c})
  4.  
  5. static unsigned myArray[100];
  6.  
  7. int main (void)
  8. {
  9. myArray[0] = SIGNATURE[0]; //0x78
  10. myArray[1] = SIGNATURE[1]; //0x9c
  11.  
  12. printf("myArray[0] is %x\n", myArray[0]);
  13. printf("myArray[1] is %x\n", myArray[1]);
  14.  
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
myArray[0] is 78
myArray[1] is 9c