asked 148k views
2 votes
What are the sizes of Integer/Long/Pointer in LP64 programming model?

1) 8/8/8
2) 4/4/8
3) 4/8/8
4) Cannot be determined

asked
User Bulent
by
9.1k points

1 Answer

3 votes

Final answer:

In the LP64 programming model, the size of an Integer is 4 bytes, the size of a Long is 8 bytes, and the size of a Pointer is 8 bytes.

Step-by-step explanation:

In the LP64 programming model, the sizes of Integer, Long, and Pointer are as follows:

  1. 8/8/8: This option is incorrect because in the LP64 model, the size of an Integer is 4 bytes, the size of a Long is 8 bytes, and the size of a Pointer is 8 bytes.
  2. 4/4/8: This option is partially correct. The size of an Integer and a Long is indeed 4 bytes, but the size of a Pointer is 8 bytes.
  3. 4/8/8: This option is incorrect because the size of an Integer is 4 bytes, not 8 bytes.
  4. Cannot be determined: This option is incorrect because the sizes can be determined based on the LP64 programming model.
answered
User Malgi
by
8.1k points

No related questions found