source:
doc/theses/jiada_liang_MMath/test1.c
@
a758169
Last change on this file since a758169 was 1725989, checked in by , 2 months ago | |
---|---|
|
|
File size: 183 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | const enum E { A = 42 }; |
3 | enum E e = A; |
4 | enum(double) D { A = 42.5 }; |
5 | enum D d = A; |
6 | int main() { |
7 | int i = e; |
8 | double j = d; |
9 | printf( "%d %d %g %g\n", e, i, d, j ); |
10 | } |
Note: See TracBrowser
for help on using the repository browser.