#include<iostream>
using namespace std;
int main()
{
double a;
double *p=&a;
cout<<"指针占了"<<sizeof(double) <<"字节"<<endl;
cout<<"指针所指向的变量占了"<<sizeof(p) <<"字节"<<endl;
return 0;
}
标签:std,return,cout,double,5.18,main From: https://www.cnblogs.com/lml66/p/17413605.html