Knowee
Questions
Features
Study Tools

What is the size of *p in this code on a 64-bit machine?int **p;

Question

What is the size of *p in this code on a 64-bit machine?int **p;

🧐 Not the exact question you are looking for?Go ask a question

Solution

The size of *p in the given code on a 64-bit machine is 8 bytes. This is because *p is a pointer, and on a 64-bit machine, the size of a pointer is 8 bytes.

Similar Questions

What is the size of *p in this code?int **p;16 bytes8 bytes4 bytes32 bytes

What is the size of a pointer on a 64-bit system?

What is the size of a pointer to an int (on a 64-bit architecture)

What is the size of the int data type on a 64-bit machine?

Mark statements as T/F.True False int *p, i;char *cp, c;p = &i;cp = (char *)p;cp[2] = 'x';The last line of the above code modifies the variable i int *p; double *dp;sizeof(p) is 4 bytes while sizeof(dp) is 8 bytes. int *p;p[1] means *(p + 1) int *p; double *dp;p = p + 1 advances p by sizeof(int) bytes

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.