fork(1) download
  1. #define number 10
  2.  
  3. #define mkstr2(s) #s
  4. #define mkstr(s) mkstr2(s)
  5. #define stamp "stamp n." mkstr(number)
  6.  
  7. #include <stdio.h>
  8.  
  9. int main()
  10. {
  11. printf("%s", stamp); // stamp n.10
  12. return 0;
  13. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
stamp n.10