fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. unsigned int freq_rang_L=1;
  5. unsigned int freq_rang_H=2;
  6. char a[13]={0x00, 0x00, 0x94, 0x01, 0x00, 0x00, 0x75, 0x30, 0x00, 0x04, 0x93, 0xe0, 0x00};
  7.  
  8.  
  9.  
  10.  
  11. freq_rang_L = (*((unsigned int*)&a[4]));
  12. freq_rang_H = (*((unsigned int*)&a[8]));
  13. printf("%d %d\n", freq_rang_L, freq_rang_H);
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
812974080 -527236096