determine the size of an interger data type


Determine the size of an interger data type without using sizeof() function?

A: #include int main()

{

int *i ;

int *j = i + 1;

cout << " size of an integer variable i = " << (int)j - (int)i << endl;

}

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: determine the size of an interger data type
Reference No:- TGS0218261

Expected delivery within 24 Hours