问题
单项选择题
下列数据中,不合法的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的后面必须是整数。
下列数据中,不合法的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.
|