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
Specify license of lib/armeabi.c
[tinycc.git]
/
tests
/
tests2
/
68_macro_concat.c
blob
5c1361f9c65c7a8ea0718865f8caf27d140bcfcb
1
#include <stdio.h>
2
#define hexCh(c (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
}