c++ 复习内容

1.
void foo(char str[10])
{
sizeof(str)=?
}
sizeof(str)=4// 函数行参仅是一个指针
2.
Typedef struct s* tPs;
tPs p3,p4;//相等 struct s*p3,struct s*p4; 
3.
动态绑定:当对象在运行的时候才能确认使用什么数据类型
原文地址:https://www.cnblogs.com/luquanmingren/p/3380997.html