问题
单项选择题
收入型证券组合是一种特殊类型的证券组合,它追求( )
A.资本利得
B.资本收益
C.资本升值
D.基本收益
答案
参考答案:D
收入型证券组合是一种特殊类型的证券组合,它追求( )
A.资本利得
B.资本收益
C.资本升值
D.基本收益
参考答案:D
阅读下列程序说明和C++程序,把应填入其中(n)处的字句,写在对应栏内。
【说明】
阅读下面几段C++程序回答相应问题。
【问题2】 下面的程序各自独立,请问执行下面的四个TestMemory 函数各有什么样的结果 ①void GetMemory(char * p) { p = (char * )malloc(100); } void TestMemory (void) { char *str = NULL; GetMemory (str); strcpy(str, "hello world"); prinff(str); } ② char * GetMemory (void) { char p[ ] = "hello world"; return p; } void TestMemory (void) { char * str = NULL; str = GetMemory( ); printf(str); } ③void GetMemory(char * * p, int num) { * p = (char * )malloc(num); } void TestMemory (void) { char * str = NULL; GetMemory(&str, 100); strcpy( str, "hello" ); printf(sir); } ④void TestMemory (void) { char *str = (char * )malloe(100); strepy (str, "hello" ); free ( str ); if(str ! = NULL) { strepy( str, "world" ); printf(str); } } |