网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
设有以下说明:type t1=file of integer; var f1:t1;n:integer; 且abc.dat是t1型文件,下面正确的程序段是
Aassign(f1,‘abc.dat‘); write(f1,n); rewrite(f1); close(f1);
Bassign(f1,‘abc.dat‘); reset(f1); readln(f1,n); close(f1);
Cassign(f1,‘abc.dat‘); rewrite(f1); writeln(f1,n); close(f1);
Dassign(f1,‘abc,dat‘); rewrite(f1); read(f1,n); close(f1);
参考答案
更多 “ 设有以下说明:type t1=file of integer; var f1:t1;n:integer; 且abc.dat是t1型文件,下面正确的程序段是 Aassign(f1,‘abc.dat‘); write(f1,n); rewrite(f1); close(f1);Bassign(f1,‘abc.dat‘); reset(f1); readln(f1,n); close(f1);Cassign(f1,‘abc.dat‘); rewrite(f1); writeln(f1,n); close(f1);Dassign(f1,‘abc,dat‘); rewrite(f1); read(f1,n); close(f1); ” 相关考题
考题
设有如下说明:var q,p:^integer; 且已知有过程调用new(p);new(q);则下面语句正确的是( )
Aread(p,q);Bp^:=q^Cp:=p+1Dp:=p+q;
考题
以下所列的各函数首部中,正确的是 ( )A.void play (var:Integer,var b:Integer)B.void play(int a,b)C.void play(int a,int b)D.Sub play(a as integer,b as integer)
考题
以下所列的各函数首部中,正确的是A.void play(var :Integer,var b:Integer)B.void play(int a,b)C.void play(int a,int b)D.Sub play(a as integer,b as integer)
考题
以下程序的功能是:输出a、b、c三个变量中的最小值。 include main( ) {int a,b,c,t 1,t2;
以下程序的功能是:输出a、b、c三个变量中的最小值。include <stdio.h>main( ){ int a,b,c,t 1,t2;scanf("%d%d%d",a,b,c);t1=a<b ?【 】;t2=c<t1?【 】;printf("%d\n", t2 );}
考题
以下所列的各函数首部中,正确的是______。A.void play(var:Integer,var b:Integer)B.void play(int a,b)C.void play(int a,int b)D.Sub play(a as integer,b as integer)
考题
以下所列的各函数首部中,正确的是:()A.void play(var :Integer,var b:Integer)B.void play(int a,b)C.void play(int a,int b)D.Sub play(a as integer,b as integer)
考题
以下所列的各函数首部中,正确的是A.void play(var :Integer,var b:Integer)B.void play(int a,b)C.void play(int a,int b)D.Sub play(a as integer,b as integer)
考题
以下所列的各函数首部中,正确的是()。A.void play(int a,b)B.void play(var :Integer,var b:Integer)C.void play(int a,int b)D.Sub play(a as integer,b as integer)
考题
以下所列的函数首部说明形式中,正确的是___A.void play(var :Integer,var b:Integer)B.void play(int a,int b)C.void play(int a,b)D.Sub play(a as integer,b as integer)
热门标签
最新试卷