#include <iostream>
using std::cout;
using std::endl;
int main()
{
long long myVar = 0;
long long* myPointer = &myVar;
cout << sizeof(myVar) << endl; // 8
cout << sizeof(myPointer) << endl; // 4
cout << endl << endl;
system("pause");
return 0;
}
This post has been edited by Mylo: 03 January 2013 - 04:38 AM

New Topic/Question
Reply



MultiQuote








|