[单选题]

when a string constant is written in C program,the compiler creates (75) of characters containing the characters of the string,and terminating it with"\0".(75)

A.a group

B.an array

C.a set

D.a series

参考答案与解析:

相关试题

When a string constant is written in C program, the compiler creates ( ) of characters containing th

[单选题]When a string constant is written in C program, the compiler creates ( ) of

  • 查看答案
  • 在C#中,string str = null 与 string str = “”

    [试题]在C#中,string str = null 与 string str = “” 请尽量使用文字或图象说明其中的区别。

  • 查看答案
  • C#中,string str = null 与 string str =””,请

    [主观题]C.#中,string str = null 与 string str =””,请尽量用文字说明区别。(要点:说明详细的内存空间分配)

  • 查看答案
  • 在C#中,string str = null 与 string str = "

    [试题]在C#中,string str = null 与 string str = " " 请尽量使用文字或图象说明其中的区别。

  • 查看答案
  • C#中,string str = null 与 string str ="",请

    [主观题]C.#中,string str = null 与 string str ="",请尽量用文字说明区别。(要点:说明详细的内存空间分配)

  • 查看答案
  • Jason was drawn to fashion when he was young.1 Her thesis is written in haste. Her thesis has quite

    Jason was drawn to fashion when he was young.1 Her thesis is written in haste. H

  • 查看答案
  • 关于C£«£« string类的小问题

    [主观题]关于C£«£« string类的小问题#include <iostream>#include <string>using namespace std;void main(){ string a="我很好";}如果我cout<<a;那么会输入 我很好 但我只想输出我或者好该怎么做呢?相比char字符串可以直接用[]下标运算付找到并输出很好方便,但a是string是一个对象不能用下标运算符像char一样一定要用string而不是 char

  • 查看答案
  • 已知String类定义如下:class String{public:String

    [试题]已知String类定义如下:class String{public:String(const char *str = NULL); // 通用构造函数String(const String &another); // 拷贝构造函数~ String(); // 析构函数String & perater =(const String &rhs); // 赋值函数private:char *m_data; // 用于保存字符串};尝试写出类的成员函数实现。

  • 查看答案
  • A floating constant consists of an integ

    [单选题]A. floating constant consists of an integer part,a decimal point,a fraction part,an e or E,and an optionally signed integer _______.A.exponentB.orderC.superfluousD.SuperiorA.B.C.D.

  • 查看答案
  • Compared to a constant pitch propeller,

    [单选题]C.ompared to a constant pitch propeller, a controllable pitch propellerA.more efficiently uses available engine powerB.operates at a lower efficiency at a fixed speedC.produces the same torque at lower engine powerD.develops its rated power at a lowe

  • 查看答案