source:
doc/theses/jiada_liang_MMath/test1.c
@
59fb462
Last change on this file since 59fb462 was 1725989, checked in by , 6 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.