深圳科曼医疗一面面经
- 头文件“”和<>的区别
- static的用法
- 如何防止头文件包含
- const的用法
- const int *p是什么意思
unsigned int a = 6; int b =-20; int c; ((a+b) > 6) ? (c = 1):(c = 0); return c; /*输出多少?*/
- int **a[3][4];数组占多少字节
-
int count(char a[]) { return sizeof(a); } int main(){ char a[] = "Hello"; cout << count(a) << endl; }求输出
void get(char* p,int num){
p = (char *)malloc(sizeof(char)*num);
}
int main(){
char *str;
get(str,100);
strcpy(str,"hello");
return 0;
} /*函数能正常运行吗?*/
int *p; int a[10]; p = a; /*下列哪个不能表示a[1]?*/ p+1 a++ p++ a+1
- 类的访问修饰符具体的作用(public、protected、private)
- 指针跟引用的区别
- 声明一个基类要注意什么
- 线程同步的方式
- 知道一些设计模式吗?(只写过单例模式)

字节跳动公司福利 1307人发布