填空题下列程序的运行结果是()。  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 test  Implicit none  Complex a,b,c  A=(1.0,2.0)  b= (2.0,4.0)  c=a+b  Write(*,*) c  Stop  end

参考解析

解析: 暂无解析

相关考题:

下面程序的运行结果是【】。 inChlde using namespace std; class count { static int n; 下面程序的运行结果是【 】。inChlde<iOStream>using namespace std;class count{static int n;public:count(){n++;}static int test(){for(int i=0:i<4;i++)n++;return n;}};int count::n=0;int main(){cout<<COUnt::test()<<" ";count c1, c2;cout<<count::test()<<end1;return 0;}

( 27 )有如下程序:#includeusing namespace std;class test {private:int a;public:test () {cout ” constructor ” ENDL;}test ( int a ) {coutAENDL;}test ( const test & _test ){a=_testa;cout ” copy constructor ” ENDL;}test () {cout ” destructor ” ENDL;}};int main ()}test A ( 3 )return0;运行时输出的结果是A ) 3B ) constructordestruclorC ) copy constructordstructorD ) 3destruclor

下列程序的运行结果是【 】。public class Test {public static void main (String args[]) {String s1="hello!";System.out.println (s1.toUpperCase());}}

请分析下列程序。 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

( 28 )有如下程序#include iostreamusing namespace std;class Test{public:Test(){ }Test(const Test t) {cout1;}};Test fun(Test u) {Test t=u; return t;}int main(){Test x,y; x=fun(y); return 0;}运行这个程序的输出结果是A )无输出B ) 1C ) 11D ) 111

有如下程序:includeusing namespace std;class test{private: int a;public: test( 有如下程序:#include<iostream>using namespace std;class test{private: int a;public: test(){cout<<"constructor"<<endl;} test(int a){cout<<a<<endl;} test(const test_test) { a=_test.a; cout<<"copy constructor"<<en+dl; } ~test(){cout<<"destructor"<<endl;}};int main(){ test A(3); rerun 0;}运行时输出的结果是A.3B.constructor destructorC.copy constructor destructorD.3 destructor

有如下程序: #include using namespace std; Class Test{ public: Test(){} Test(const Testt){cout1;} ); Test fun(Test u){Test t=u;retum t;} int main(){Test X,y;x=fun(y);retum 0;} 运行这个程序的输出结果是( )。A.无输出B.1C.11D.111

下列程序的执行结果是 ( ) public class Test { public int aMethod() { satic int i=0; i++; System.out.println(i); } public static void.main(String args[]) { Test test=new Test(); test.aMethod(); }A.编译错误B.0C.1D.运行成功,但不输出

执行下列程序的结果是( )。 include void main() { char *str; str 执行下列程序的结果是( )。 #include<iostream.h> void main() { char *str; str="test!"; cout<<str[5]; }A.test!B.testC.空字符D.异常

下列程序的运行结果是【 】。 include class test { private: int num; public: tes 下列程序的运行结果是【 】。include <iostream. h>class test{private:int num;public:test()int TEST() {return num+100;}~test()};test::test(){num=0;}test::~test(){cout<<"Destructor is active"<<endl;}void main(){test x[3]cout<<x[1]. TEST()<<endl;}

下列程序的输出结果是( )。 include include"string.h" void main() {char a[]="He 下列程序的输出结果是( )。 #include<iostream.h> #include"string.h" void main() {char a[]="Hello Test",b[]="Test"; strcpy(a,b); cout<<a<<end1; }A.HelloB.TestC.Hello TestD.Hello Test HelloTest

下列程序的运行结果是()。 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.有语法错

有以下程序程序执行后的输出结果是( )。A.ProhsbnB.PrphsbnC.ProgsbnD.Program

有如下程序: #includeiostream usingnamespacestd; classTest( public: Test( ){} Test(constTest8Lt){cout1;} }; Testfun(Test&u){Testt=U;returnt;} intmain( ){Testx,y;x=fun(y);return0;} 运行这个程序的输出结果是( )。A.无输出B.1C.1lD.111

下面程序的运行结果是()。includeusing namespace std;class TestClass{static int n; 下面程序的运行结果是( )。 #include<iostream> using namespace std; class TestClass { static int n; public: TestClass () { n++; } static int test() { for(int i=0;i<4;i++) n++; return n; } }; int TestClass::n=0; int main() { cout<<TestClass::test()<<" "; TestClass c1,c2; cout<<TestClass::test()<<endl; return (); }A.4,10B.4,6C.0,6D.0,4

下列程序的输出结果是______。 include using namespace std; class Test( public: Te 下列程序的输出结果是______。 #include<iostream> using namespace std; class Test( public: Test() {cnt++;} ~Test() {cnt--;} static int Count(){return cnt;} private: static int cnt; }; int Test::cnt=0; int main() { cout<<Test::Count()<<""; Test t1,t2; Test*pT3=new Test; Test*pT4=new Test; cout<<Test::Count()<<""; delete pT4; delete pT3; cout<<Test::Count()<<end1; return 0; }A.024B.042C.420D.240

问答题关键字解释 1. INTEGER  2. REAL  3.DOUBLE PRECISION  4.COMPLEX 5.LOGICAL  6.IMPLICIT NONE   7.SELECT CASE(R3)  8.CHARACTER(LEN=13) :: AS   9. 12  FORMAT(T5,I3)  10.WRITE *,RE

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

单选题某函数子程序中使用了IMPLICIT、READ、COMPLEX和FUNCTION四种语句,其中属于可执行语句的是()AFUNCTIONBREADCCOMPLEXDIMPLICIT

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

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

单选题下列程序的运行结果是(  )。class Test extends Thread{public static void main(String[] args){Thread t=new Thread();t.start();}public void run(){System.out.println("Hello");}}A程序不能通过编译,因为没有import语句将Thread类引入B程序不能通过编译,因为Test类没有实现Runnable接口C程序通过编译,且运行正常,没有任何输出D程序通过编译,且运行正常,打印出一个"Hello"

填空题下列程序的运行结果是()。  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 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 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