source:
doc/theses/jiada_liang_MMath/test1.c
@
8cb2ff6
Last change on this file since 8cb2ff6 was 1725989, checked in by , 5 months ago | |
---|---|
|
|
File size: 183 bytes |
Rev | Line | |
---|---|---|
[1725989] | 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.