#include<iostream>
using namespace std;
struct A{
int a;
int s;
};
int main()
{
A *S =new A();
A obj1=S[0];
printf(" 0x%x",obj1);
}
My question is when i see the out put it seems be 0x0; and is some cases it becomes 0xFFFFFFFF
can someone explain?
Aucun commentaire:
Enregistrer un commentaire