简单c面试

	char *c;
	cout << sizeof(c) << endl;
	cout << sizeof(*c) << endl;

  4  1

const  static volicate作用

max宏定义

写给返回char* 的 函数指针指向带一个int参数的函数

 


int *b;
cout << sizeof(*b) << endl;

4

 

posted on 2022-01-20 21:30  lydstory  阅读(27)  评论(0)    收藏  举报

导航