Question: Suppose that a node contains two integer fields ( each occupies 4 bytes in computer memory ) and a pointer ( 4 bytes in computer

Suppose that a node contains two integer fields (each occupies 4 bytes in computer memory) and a pointer (4 bytes in computer memory) to the next node. According to the following statement, what are the sizes of pointer M and node in computer memory
Node *M = new Node();
A) M =4 bytes, node =8 bytes
B) M =8 bytes, node =4 bytes
C) M =12 bytes, node =4 bytes
D) M =4 bytes, node =12 bytes
E) None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!