fork(1) download
  1. #include <stdio.h>
  2.  
  3. #define length_of_array(a) (sizeof(a)/sizeof((a)[0]))
  4.  
  5. int main(int arg) {
  6. int test[arg];
  7. int test2[length_of_array(test)];
  8. printf("%zu\n", length_of_array(test2));
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 1676KB
stdin
Standard input is empty
stdout
1