He has already made up his mind, it’s no use________him.
A. try to persuade
B. to try to persuade
C. trying to persuade
D. to try persuading
He said that he ______ already _______ the English film.A. has; seenB. has; seeC. had; seen
点击查看答案
When William hurried home, he found that his mother ____already ____to hospital.A、has; been sentB、had; sentC、has; sentD、had; been sent
Jim ______already ______in this school for two years.A、was; studyingB、will; studyC、has; studiedD、are; studying
阅读以下函数说明和C语言函数,将应填入(n)处的字句写在对应栏内。【函数2.1】void sort(char *s,int num){int i,j--num;char t;while(j-->1)for(i=0;i<j;i++)if(s[i]>s[i+1]){t=s[i];s[i]=s[i+1];s[i+1]=t;}void main(){char *s="CEAedea";sort(s,5);printf("%s",s);}上述程序的结果是(1)【函数2.2】void main(){ union {int ig[6];Char s[12];} try;try. ig[0]=0x4542; try.ig[1]=0x2049;try. ig[2]=0x494a; try.ig[3]=0x474e;try. ig[4]=0x0a21; try.ig[5]=0x0000;pintf("%s",try, s);}上述程序的结果是(2)【函数2.3】void main(){ char *letter[5]= { "ab","efgh","ijk","nmop","st"};char **p;int i;p=letter;for(i=0;i<4;i++) .printf("%s",p[i]);}上述程序的结果是(3)【函数2.4】main(){int i=4,j=6,k=8,*p=&I,*q=&j,*r=&k;int x,y,z;x=p==&i;y=3*-*p/(*q)+7;z=*(r=&k)=*p**q;printf("x=%d,y=%d,z=%d",x,y,z);}上述程序的结果是(4)【函数2.5】int a[]={5,4,3,2,1 };void main(){int i;int f=a[0];int x=2;for(i=0;i<5;i++)f+=f*x+a[i];printf("%d",f);}上述程序的结果是(5)
try-except结构中,能够执行except对应语句块的情形是().A.try中语句出现异常时B.正常程序结束后C.try中语句有分支时D.try中语句有循环时
【单选题】下列程序运行结果为______。 #include<iostream> using namespace std; class S { public: ~S() { cout<<"S"<< "t"; } }; char fun0() { S s1; throw('T'); return '0'; } int main() { try { cout<<fun0()<< "t"; } catch(char c) { cout<<c<< "t"; } return 0; }A.S TB.O S TC.O TD.T
在完整的异常语句中,子句出现的顺序正确的是_______。A.try—>except—>else—>finallyB.try—>else—>except—>finallyC.try—>except—>finally—>elseD.try—>except—>except—>finally