int funcA(int a,int b)
{
short c = 0;
funcB(&c);
}
int funcB(int* c )
{
*c = 5;
}
如果调用funcA,函数的栈被破坏,函数运行错误,挂死。
转载于:https://www.cnblogs.com/elseliving/p/7895265.html
int funcA(int a,int b)
{
short c = 0;
funcB(&c);
}
int funcB(int* c )
{
*c = 5;
}
如果调用funcA,函数的栈被破坏,函数运行错误,挂死。
转载于:https://www.cnblogs.com/elseliving/p/7895265.html