更多"下列说明const chr* ptr;中,ptr应该是 【7】 。"的相关试题:
[单项选择]已知类A有公用数据成员a,并重载了一运算符,且有A obj2;const A *ptr=new A;,则下列语句错误的是( )。
A. Dtr->a=100;
B. ptr=&obj2;
C. ptr++;
D. obj2=*ptr;
[填空题]将关键字const写在函数头之后,函数体之前,说明该函数是一个const成员函数。此时const不是指定函数的返回值,而是修饰______指针。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=-str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]C++语句const char * const p= "hello";,所定义的指针p和它所指的内容都不能被【 】。
[填空题]C++语句const char * const p="hello";,所定义的指针p和它所指的内容都不能被 。
[填空题]C++语句const char *const p="hello";,所定义的指针p和它所指的内容都不能被______。
[填空题]C++语句const char*const p="hello";,所定义的指针p和它所指的内容都不能被 【10】 。
[单项选择]JMP WORD PTR[DI]是( )。
A. 段内间接转移
B. 段间间接转移
C. 段内直接转移
D. 段间直接转移
[简答题]Cell phones may help busy executives keep in constant touch with important business associates, but they may also increase their risk of high blood pressure, preliminary research suggests. A study of 10 German mobile phone users found that when they switched on their phone, their blood pressure shot up by 5 to l0 millimeters of mercury, researchers reported in this week’s issue of the international medical journal, The Lancet. Exactly how cell-phone use can lead to increases in blood pressure is unclear, but researchers speculate that the electromagnetic fields emitted by phones may somehow boost pressure. While the blood pressure increases found in the new study are small, they may be detrimental to people who already suffer from hypertension, researchers led by S. Braune of the Neurologische Universitateklinik in Freiburg, Germany, explained.