CSTechPause
Pages
(Move to ...)
Computer Science & Engineering'
▼
Tuesday, 6 May 2014
Token-Pasting operator:
The tokens passed to macros can be contcatehanted using operator ## ..
#include
<stdio.h>
#define
merge(a, b) a#
#b
int main()
{
printf("%d ", merge(12, 34));
}
// Output: 1234
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment