#include<stdio.h>
#include"stdlib.h"
#include<iostream>
using namespace std;
void func1(int i, char *szTest)
{
cout << "szTest的地址:" << &szTest << endl;
cout << "sz本身的值:" << (void*)szTest << endl;
cout << "i的地址:" << &i << endl;
int k,k2;
cout << "k的地址:" << &k << endl;
cout << "k2的地址:" << &k2 << endl;
cout << "-------------------------------------------------------" << endl;
}
void func2(int i, char *szTest)
{
cout << "szTest的地址: " &l
C++栈地址增长问题
最新推荐文章于 2022-04-13 17:15:20 发布