fork(1) download
  1. #include <stdio.h>
  2.  
  3. #define API_VERSION_MAJOR 4
  4. #define API_VERSION_MINOR 47
  5.  
  6. #define _STR(x) #x
  7. #define STR(x) _STR(x)
  8.  
  9. static const char OSAPIVersion[] = STR(API_VERSION_MAJOR) "." STR(API_VERSION_MINOR);
  10.  
  11. int main(void) {
  12. printf("%s\n", OSAPIVersion);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
4.47