Consider the following program:
using namespace std;
Program is compiled and executed on a 64 bits computer system architecture, that’s why the size of the pointer is 8.
In the above program, we are declaring 3 pointer variables iptr, cptr and fptr of integer, character and float type.
And we are printing the size of these pointer variables along with the type of value (which will be stored in these the address stored in pointer variables).
total answers (1)
start bookmarking useful questions and collections and save it into your
own study-lists, login now to start creating your own collections.