全文预览

C语言试验题(Clanguagetestquestions)

上传者:火锅鸡 |  格式:pdf  |  页数:46 |  大小:3096KB

文档介绍
c. [3]);\rAfter the program runs, enter two integers 10000, 20, 000 to u. i.\r[0], u. i [1], and analyze the operation results;\r10. 5. The union data {\rInt I [2];\rFloat a;\rLong b;\rChar c [4];\r) O\rThe main ()\rThe union data u ;.\rThe scanf (" % d, % d ”, & u, i [0], & u. i [1]);\rPrintf (W I [0] = % d, I [1] = % d f b = a = % % % Id c [0] =\rc, c [1] = % c, c [2] = % c, c [3] = % c ”,\rU. i u. i [0], [1], u. a, u. b, u. c. [0], the u. c. [1], the u. c.\r[2], the u. c. [3]);\r)\rChange the scanf statement to: scanf (" % Id ”, & u, b);\rOnce again run, enter 60000 to u. b. Analyze the results of the\roperation.\r10. 6. Figure.\r10. 7. Figure.

收藏

分享

举报
下载此文档