精选优质文档-倾情为你奉上练习3-1答案一、选择题1在C语言库函数中,可以输出double型变量x值的函数是( D )。AgetcharBscanfCputcharDprintf2执行语句:printf(The programs name is c:toolsbook.txt);后输出是( D )。AThe programs name is c:tools book.txtBThe programs name is c:tools book.txtCThe programs name is c:tools book.txtDThe programs name is c:toolook.txt3以下程序的输出结果是( D )。(注:表示空格)main()printf(n*s1=%15s*, chinabeijing);printf(n*s2=%-5s*, chi);A*s1=chinabeijing*B*s