网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
填空题
下列程序的运行结果是()。  Program main   implicit none  integer ::a=1    integer ::b=2  call add ( a )    Call add ( b)  Write(*,*) a , b  Stop   end  Subroutine  add (sum)  Implicit none  integer :: sum    sum=sum+1  Return  end

参考答案

参考解析
解析: 暂无解析
更多 “填空题下列程序的运行结果是()。  Program main   implicit none  integer ::a=1    integer ::b=2  call add ( a )    Call add ( b)  Write(*,*) a , b  Stop   end  Subroutine  add (sum)  Implicit none  integer :: sum    sum=sum+1  Return  end” 相关考题
考题 有以下程序void fun1(char *p){ char *q;q=p;while(*q!='\0'){ (*q)++; q++; ) }}main(){ char a[]={"Program"),*p;p=a[3];fun1(p);printf(" % s\n",a);}程序执行后的输出结果是A)ProhsbnB)PrphsbnC)ProgsbnD)Program

考题 有以下程序: void fun1(char*p) {char*q; q=P; while(*q!='\0') { (*q)++;q++;} } main() {char a[]={"Program"),*p; p=&a[3];funl(p);printf("%s\n",A); } 程序执行后的输出结果是( )。A.ProhsbnB.PrphsbnC.ProgsbnD.Program

考题 请分析下列程序。 int main() { printf("This is in main program"); if(fork()==0) printf("I am in child process"); else printf("I am in parent process");} 程序正确运行后结果是A.This is in main program I am in child process I am in parent processB.This is in main program I am in child processC.This is in main program I am in parent processD.This is in main program I am in child process This is in main program I am in parent process

考题 下列程序的运行结果是() include main() {int x=5,a=1,b=2,c=5,d=0; if(a 下列程序的运行结果是( )#include<stdio.h>main(){ int x=5,a=1,b=2,c=5,d=0;if(a<b)if(b!=3)if(!c)x=1;elseif(d) x=l;else x=-1;printf("%d",x);}A.-1B.0C.1D.不确定的值

考题 下列程序的运行结果是()。 include main() {int a=2,b=3,c=4;ifa 下列程序的运行结果是( )。#include<stdio.h>main(){ int a=2,b=3,c=4;ifa<B)if(b<0)c=0;else c+=1;printf("%d\n",C) ;}A.2B.3C.5D.4

考题 以下程序运行后的输出结果是______。 main ()inta.b,c;a=10; b=20;c=(a%b1);printf("%d% 以下程序运行后的输出结果是______。main ()int a.b,c;a=10; b=20; c=(a%b<)||{a/b>1);printf("%d %d %d n" ,a,b,c);}

考题 以下程序运行后的输出结果是( )。 include main(){ int a=1, b=7; do { b=b/2; a+=b 以下程序运行后的输出结果是( )。include<stdio.h>main(){ int a=1, b=7;do {b=b/2; a+=b;} while(b>1);printf("%d\n",A);}

考题 有以下程序 include main( ) { printf("%d\n",NULL); } 程序运行后的输出结果是 有以下程序#include <stdio.h>main( ){ printf("%d\n",NULL); }程序运行后的输出结果是A.0B.1C.-1D.NULL没定义,出错

考题 下列程序段的运行结果是______。Dimnum As Integer,a As Integer,b As Integera=88:b=24DoWhile b<>0num=a Modba=bb=numWendPrintaLoop

考题 下列程序的运行结果是______。define POWER(x) ((x)*(x))main (){ int i=1;printf("%d,%d",POWER(i++),i);}

考题 有以下程序:include main(){ printf("%d\n",NULL);}程序运行后的输出结果是()。A.0B.1C 有以下程序: #include<stdio.h> main() { printf("%d\n",NULL);} 程序运行后的输出结果是( )。A.0B.1C.-1D.NULL没定义,出错

考题 阅读下列程序: Private Sub Command1_Click( ) Dim i As Integer,k As Integer k=2 For i=1 To 3 Print H(k); Next i End Sub Function H(j As Integer) a=0 Static b a=a+1 b=b+1 H=a*b+j End Function 程序运行后,单击命令按钮输出结果是A.234B.345C.567D.356

考题 下列程序的运行结果为______。 #define MS DOS #ifdef MS DOS #define INTEGER SIZE 32 #else #define INTEGER SIZE 16 #endif main () { printf ("integer_size=%d\n", INTEGER_SIZE); }A.integersize=32B.integer_size=16C.integersize=32,integer_size=16D.错误

考题 下列程序的运行结果是______。includelong func(int x){ long p;if(x==O‖x==1)return(1) 下列程序的运行结果是______。include<stdio.h>long func(int x){ long p;if(x==O‖x==1)return(1);p=x*func(x-1);return(p);}main(){ printf("%d\n",func(4));}

考题 若有以下程序: include using namespace std; int main() {char str[10];cin>>str;co 若有以下程序:include <iostream>using namespace std;int main(){char str[10];cin>>str;cout<< str<<end1;return 0;}当输入为:This is a program!那么执行程序后的输出结果是【 】。

考题 下列程序的运行结果是()。 include main() {static char a[]="Languagef",b[]="program 下列程序的运行结果是( )。#include<stdio.h>main(){ static char a[]="Languagef",b[]="programe";Char*p1,*p2;int k;p1=a;p2=b;for(k=0;k<=8;k++)if(*(p1+k)==*(p2+k))printf("%c",*(p1+k));}A.gaeB.angC.programD.有语法错

考题 下列程序的运行结果是()。include main(){int a=2,b=3,c=4; if(a 下列程序的运行结果是( )。 #include <stdio.h> main() { int a=2,b=3,c=4; if(a<b) if(b<0) c=0; else c+=1; printf("%d\n", c); }A.2B.3C.5D.4

考题 下面程序的运行结果是______。main(){unsigned a=3,b=10; printf("%d\n",a>1);}A.3B.10C.13 下面程序的运行结果是______。 main() { unsigned a=3,b=10; printf("%d\n",a<<2|b>>1); }A.3B.10C.13D.14

考题 下列程序运行后的输出结果是()。   main( )  { int m=4,x=3,y=2,z=1;    printf(“%d”,m}

考题 填空题下列程序的运行结果为()。 Program main       Implicit none       Real :: a, b, m              A=2.0              B=76.0             If(a

考题 填空题下列程序的运行结果是()。 Program test  Implicit none Integer::sum,i  sum=0.0    do i=1,203,2       sum=sum+i  end do  write(*,*) i end

考题 填空题下列程序的运行结果是()。  Program test  Implicit none  Complex a,b,c  A=(1.0,2.0)  b= (2.0,4.0)  c=a+b  Write(*,*) c  Stop  end

考题 填空题下列程序的运行结果是()。  Program main    implicit none     integer, target :: a=1       integer, pointer :: p        p=a        p=3    write(*,*)a  end

考题 填空题下列程序的运行结果是()。  Program test  Implicit none  Integer::i  Integer::a(5)=(/ (i, i=1,5) /)  Integer::b(5)=0       Where (a3)            b=a     End where  Write(*,”(5(i3,1x))”) b  end

考题 填空题下列程序的运行结果是()。  Program test      Implicit none      Integer,parameter:: limit=10      Integer counter      Integer:: ans=0      Counter=2     do while(counter=limit)      ans=ans+counter      counter=counter+2   end do Wrte(*,*)ans end

考题 填空题下列程序的运行结果是()。  Program test  Implicit none  Integer::i  Integer::a(5)        Forall ( i=1:5 )     A(I)=5  End forall  Write(*,*)a  Stop  end

考题 填空题下列程序运行结果为()。  Program main  Implicit none  Integer::floor=5,i       Do  i=1, floor          If(i==3)cycle          If(i==4)cycle            Write(*,*)i           End do        end