以下程序的運(yùn)行結(jié)果是【 】。 include main() { FILE *fp; int a[10]={1,2,3,0,0},i; fp=fopen("d2.

以下程序的運(yùn)行結(jié)果是【 】。 include main() { FILE *fp; int a[10]={1,2,3,0,0},i; fp=fopen("d2.dat","wb"); fwtite(a,sizeof(int),5,fp); fwrite(a,sizeof(int),5,fp); fclose(fp); fp=fopen("d2.dat","rb"); fread(a,sizeof(int),10,fp); fclose(fp); for(i=0;i<10;i++)printf("%d",a[i]); }


你可能感興趣的試題




&8226;Read this part of a letter from the manager of a conference center.

Thank you for your telephone call inquiring about rooms for a sales training course. There is a conference room available on 23 October, 2006 which holds 40 people.
If this is suitable, please confirm the booking in writing as soon as possible and also tell me how many trainees will attend the course.
&8226;Write a letter:
confirming the date of the booking
telling the manager how many trainees will attend
informing him which conference equipment you will need
asking if your company will receive its usual 10% discount.
&8226;Write 60 - 80 words.
&8226;Write on your Answer Sheet. Do not include any postal addresses.

單項(xiàng)選擇題

WHAT IS IMPORTANT WHEN ... ?

Arranging a social event for clients
Types of activities
Cost of event
Giving presents
Topic B
WHAT IS IMPORTANT WHEN ... ?
Choosing the location for a new factory
Transport connections
Cost
Size of factory