fork download
  1. #include <stdio.h>
  2.  
  3. #define CHG_I2C I2C1
  4. #define GPIO_AF_I2C1 0x000
  5.  
  6. #define _CONCAT(a, b) a ##b
  7. #define CONCAT(a, b) _CONCAT(a, b)
  8.  
  9. int main()
  10. {
  11. printf("%d\n", CONCAT(GPIO_AF_,CHG_I2C));
  12. return 0;
  13. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
0