fork(7) download
  1. #include <stdio.h>
  2.  
  3. #define MSG Hello
  4. #define cat(x, y) x ## y
  5. #define cat2(x, y) cat(x, y)
  6. #define HELLO(name) cat2(MSG,name)
  7.  
  8. void HELLO(Dave)() {
  9. printf (" I am %s", __FUNCTION__);
  10. }
  11.  
  12.  
  13. int main(void) {
  14. // your code goes here
  15. HelloDave();
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
 I am HelloDave