#答案:http://www.cnblogs.com/tinaluo/articles/6288355.html
| 1 | 编写程序:double a=2.3434555667788,设置精度为10位并输出 |
| 2 | C++中float类型的精度为________位,double类型的精度为________位 |
| 3 | unsigned a=-1,cout<<a,结果为________ |
| 4 |
char a=-1; int b=a; cout<<b;//b=______ |
| 5 | 如何返回unsigned int的最大值(编译器定义的)(#limits)? 答案: cout<<numeric_limits<unsigned>::max(); |
| 6 | char *p="luotian",如何输出该字符串的首地址.#C++操作 答案: char *p="luotian"; cout<<static_cast<void *>(p); |

浙公网安备 33010602011771号