engineering computer science MCQ #2134

What is the result of `sizeof(void*)` on a 64-bit system?

engineering computer science MCQ #2134

  1. Question 1

    Q1. What is the result of `sizeof(void*)` on a 64-bit system?

    • A) 4
    • B) 8
    • C) sizeof(int)
    • D) Compilation Error

    Answer: 8

    Explanation: On a 64-bit system, the size of a pointer is typically 8 bytes.