Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include <stdio.h>
  2.  
  3. #define P(A,B) A ## B ; bob
  4. #define Q(A,B) A ## B+
  5.  
  6. int main(void)
  7. {
  8.     int bob, jim = 21;
  9.     bob = P(jim,) *= 2;
  10.     printf("jim: %d, bob: %d\n", jim, bob);
  11.     jim = 60 Q(+,)3;
  12.     printf("jim: %d\n", jim);
  13.     return 0;
  14. }
  15.