关于C语言的符号常量,以下叙述中正确的是( )。
A. 符号常量的符号名是标识符,但必须大写
B. 符号常量是指在程序中通过宏定义用一个符号名来代替一个常量
C. 符号常量在整个程序中其值都不能再被重新定义
D. 符号常量的符号名必须是常量
以下程序的输出结果是()。(注:└┘代表空格)#include ”stdio.h”main(){ printf(”\nstring1=%15s*”, ”programming”);printf(”\nstring2=%-5s*”, ”boy”);printf(”string3=%2s*”, ”girl”);}
A. string1=programming└┘└┘└┘└┘* string2=boy*string3=gi*
B. string1=└┘└┘└┘└┘programming*string2=boy└┘└┘*string3=gi*
C. string1=programming└┘└┘└┘└┘*string2=└┘└┘boy*string3=girl*
D. string1=└┘└┘└┘└┘programming*string2=boy└┘└┘*string3=girl*
In the box below are some of the words you have learned in this unit, Completethe following sentences with them. Change the form where necessary.1) She finds herself in _____ with her parents over her future career.2) The two parties finally _______ their differences on the matter ofInterest rate(利率).3) Some strange customs _______ from earlier times.4) Please letus know if you can _____ the meeting scheduled(事先安排)for the coming Thursday5) She _______ with displeasure as she was reading her son's schoolreport.6) Students are likely to let their minds _______ if the teacher's lecturesare dull and boring.7) I always feel so _____ about not visiting my parents more often, butI do have lots of things to cope with every day.8) The local farmers ______ heavy losses during the flood season.9) The next morning we all went out to _____ the damage caused bythe fire.10) The sudden appearance of a tiger from the woods ______ us all.11) International students are required to carry medical _______ as acondition of enrollment(注册).12) _______ to a new culture is no easy task because there are lots ofcultural differences to overcome.
The words listed in the following box can be used to describe either a teenageror a parent. Go over each word carefully and then choose the right word tocomplete each sentence.He is a very1)_____ father. He says"no" to all his daughter'sboyfriends.A(n)2)________ parent usually weakens his/her child's belief inhis her ability to solve his / her own problems。Are you a(n)3)________ parent whose teenager always makes angryscenes when you try to get him or her to"just DO something"?His4)______ mother wants him to ring her 3 times a day at least tokeep her informed of what he does at school.It is often the case that in a family one parent is usually slightly5)_______and the other is slightly 6)_______.Teenagers are rather 7)_______ as they often prefer to be on their ownand refuse to listen to their parents.Don't blame him: he's just a(n) 8)_________ teenager who feels that heis unable to find his position in life.Don't blame him for not wanting to stay at home. He is just a 9)________teenager longing for adventure.She used to be a(n) 10)________ teenager who thought that whatever shebelieved was correct.