Skip to content

Instantly share code, notes, and snippets.

@jdarge
Created April 28, 2024 16:21
Show Gist options
  • Save jdarge/409eeef1a1c44ae03ff0c78153c41a96 to your computer and use it in GitHub Desktop.
Save jdarge/409eeef1a1c44ae03ff0c78153c41a96 to your computer and use it in GitHub Desktop.
// CPP program to illustrate (##) operator
#include <stdio.h>
#define concat(a, b) a##b
int main(void)
{
int xy = 30;
printf("%d", concat(x, y));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment