*(double *)a怎么理解啊
来源:百度知道 编辑:UC知道 时间:2024/06/12 14:39:47
这里的a是一个指针变量.
比如说:
#include "stdafx.h"
#include <string>
using namespace std;
class Obj
{
public:
double a;
char b;
Obj(double a,char b):a(a),b(b){}
};
int main()
{
Obj o(5.5,'c');
printf("%f",*(double*)&o);
}
这样就输出了5.5。
double a是什么公司
x=Double.valueOf(a).doubleValue();是什么意思
go on a double date是什么意思?
double clamp hose专业一些怎么翻?
Double A复印纸是国内最好的吗
float,double,赋值时候为什么要加f,d.例如:double a=0.1d;float b=0.2f;
Shared joy is a double joy; shared sorrow is half a sorrow.
light skin, light blue eyes, a double-chin and a plastic smile.
shared joy is a double joy,shared sorrow is half a sorrow.
main(){double a=1.1;printf("%d",a)}为什么显示是零?