1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
inline int (void); inline int read_unsigned(void);
int main(void) { int a = read(); int b = read_unsigned(); int c = read(); int d = read_unsigned(); printf("a = %2dn" "b = %2dn" "c = %2dn" "d = %2dn", a, b, c, d ); a = 2 b = 2 c = -2 d = 2 // the input for c is -2, but read_unsigned() will drop the '-' */ return 0; }
|
近期评论