#include <iostream>
using namespace std;
int main ()
{
int* intPointer;
float* floatPointer;
char *charPointer;
cout << "The size of intPointer is " << sizeof(intPointer) << endl;
cout << "The size of floatPointer is " << sizeof(floatPointer) << endl;
cout << "The size of charPointer is " << sizeof(charPointer) << endl;
return 0;
}
|