问题 单项选择题

下列数据中,不合法的C语言实型数据是

A) 0.123
B) 123e3
C) 2.1e3.5
D) 789.0

答案

参考答案:C

解析: 在C语言中,实数有两种形式表示,即十进制数形式和指数形式,在指数形式中,e3、 2. le3.5、.e3、e等都是不合法的指数形式。再如123e3或123E3都代表123乘以10的3次方。注意,字母e的前面必须有数字,且e的后面必须是整数。

完形填空
A Love Note To My Mom
When I was a little girl, I would often accompany you as you modeled for fashion photographers. It was years later that I finally understood what role modelling  36 in your life. Little did I know you were  37 every penny you earned to go to  38  school.
I cannot thank you enough for  39 you told me one autumn afternoon when I was nine. After finishing my homework, I went into the dining room where you were buried  40  piles of law books. I was  41  .Why were you doing what I do—memorizing textbooks and studying for  42  ? When you said you were in law school, I was more puzzled. I didn’t know. Moms could be lawyers too. You smiled and said, “In life, you can do anything you want to do.”
As young as I was, that statement kept  43 in my ears. I watched as you faced the  44 of completing your studies, starting companies with Dad, while still being a  45 and a Mom with five kids. I was exhausted just watching you in action. With your words of wisdom in my youthful mind, I suddenly felt unlimited freedom to dream. My whole world  46 . I set out to live my life filled with        47  , seeing endless possibilities for personal and professional achievements.
Your words became my motto. I constantly found myself in the unique position of being either the first (woman doctor in Maryland Rotary) or one of the few women (chief medical reporters) in my field. I gained strength every time I said , “Yes, I’ll try that.”
Encouraged by your  48 , I have forged ahead (毅然前行) with my life’s journey, less afraid to make mistakes, and  49 meeting each challenge. You did it, and now I’m  50 it. So, get to run. So much to do, so many dreams to live.
小题1:
A.foundB.playedC.keptD.provided
小题2:
A.savingB.makingC.donatingD.receiving
小题3:
A.businessB.fashionC.lawD.medical
小题4:
A.whatB.thatC.whichD.where
小题5:
A.atB.toC.uponD.in
小题6:
A.amusedB.worriedC.puzzledD.disappointed
小题7:
A.roleB.testsC.positionsD.shows
小题8:
A.ringingB.blowingC.fallingD.beating
小题9:
A.choicesB.chancesC.challengesD.changes
小题10:
A.professorB.doctorC.reporterD.model
小题11:
A.came backB.closed downC.went byD.opened up
小题12:
A.hopeB.hardshipC.harmonyD.sadness
小题13:
A.descriptionB.statementC.praiseD.introduction
小题14:
A.secretlyB.curiouslyC.carelesslyD.eagerly
小题15:
A.doingB.consideringC.correctingD.reading
单项选择题