摘要:
1 #include<iostream> 2 using namespace std; 3 void test(void *p) 4 { 5 cout<<"p is pointer "<<p<<endl; 6 } 7 void test(int num) 8 { 9 cout<<"num is in 阅读全文
posted @ 2019-11-13 20:36
Royzzzzz
阅读(177)
评论(0)
推荐(0)
摘要:
3.1. 输出一个用负数赋值的无符号类型声明的变量或者输出一个两个无符号类型声明的变量相减的结果的结果是什么? 1 unsigned int num=1; 2 unsigned int num1 = 2; 3 std::cout << num - num1; 这里的结果应当是(-10)mod (in 阅读全文
posted @ 2019-11-13 18:33
Royzzzzz
阅读(535)
评论(0)
推荐(0)

浙公网安备 33010602011771号