repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bug:
[tinycc.git]
/
tests
/
tests2
/
69_macro_concat.c
blob
3b1631349159ddbf61eca4dcc88ea615664c4b7b
1
#include <stdio.h>
2
#define hexCh(c/3) (c >= 10 ?
'a'
+ c - 10 :
'0'
+ c)
3
4
int
main
(
void
)
5
{
6
int
c
=
0xa
;
7
printf
(
"hex: %c
\n
"
,
hexCh
(
c
));
8
return
0
;
9
}