皮皮学,免费搜题
登录
搜题
【简答题】
[程序填空题]以下程序的功能是将C语言源程序文件exam.c中用反斜杠与星号括起来的非嵌套注释删除,然后存入文件exam.out中。请填入适当内容。 #include void delcomm(FILE *fp1,FILE *fp2) { int c,i=0; while(( )!=EOF) if(c=='\n') fprintf(fp2,"\n"); else switch(i) { case 0:if(c=='/') i=1; else fprintf(fp2,"%c",c); break; case 1:if(c=='*') i=2; else {fprintf(fp2,"%c",c); i=0;} break; case 2:if(c=='*')i=3; break; case 3:i=(c=='/')? ; break; } } int main() { FILE *fp1,*fp2; fp1=fopen("exam.c","r"); fp2=fopen("exam.out","w"); delcomm( ); fcloseall(); return 0; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【判断题】公差虽为绝对值,但公差值前面却不能加“+”号。
A.
正确
B.
错误
【单选题】细菌的培养方法有多种,双歧杆菌、乳酸菌是需要哪种培养
A.
一般培养法
B.
二氧化碳培养法
C.
微氧培养法
D.
厌氧培养法
E.
专性需氧培养
【单选题】Question 4. Which of the following is taken as Newson’s act of genius that strikes everyone? ----- Passage 3 ----- (Para 1) As we pack for our summer holidays, no matter where we are heading, how long...
A.
His luggage is light and strong.
B.
His luggage provides the maximum volume of available space.
C.
His telescopic mechanism bisects the bag right down the middle.
D.
His telescopic mechanism keeps luggage light but increases the space inside.
【简答题】Replace the underlined words with the correct form of the words in the box. You may need to make other changes. award efficiency feature fundamental historical intellectual rit...
【单选题】哪种细菌需要厌氧培养?( )
A.
破伤风杆菌
B.
伤寒杆菌
C.
葡萄球菌
D.
链球菌
【单选题】下面哪种细菌需要厌氧培养?
A.
链球菌
B.
破伤风芽胞梭菌进入血液
C.
炭疽芽胞杆菌
D.
结核分枝杆菌
E.
金黄色葡萄球菌
【单选题】Question 5. This passage is mainly about _______. ---- Passage 3 ----- (Para 1) As we pack for our summer holidays, no matter where we are heading, how long we will be there or what we plan to take wi...
A.
the history of Louis Vuitton
B.
the story of Marc Newson
C.
why the top designs stars are fascinated with efficient packing
D.
how the world’s most advanced wheeled suitcases and bags are designed
【判断题】公差虽为绝对值,但公差值前面却不能加“+”号。
A.
正确
B.
错误
【单选题】下列哪种细菌需要厌氧培养?
A.
伤寒沙门菌
B.
金黄色葡萄球菌
C.
破伤风芽胞梭菌
D.
大肠埃希菌
【判断题】PE管埋设时,如果管沟底部平直且土壤没有扰动,就无需平整
A.
正确
B.
错误
相关题目: