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