engineering computer science MCQ #2124

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

engineering computer science MCQ #2124

  1. Question 1

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

    • A) 1/2
    • B) 1
    • C) 2
    • D) 4

    Answer: 1/2

    Explanation: On a 64-bit system, sizeof(int) is typically 4 and sizeof(int*) is 8, so the result is 4/8 = 1/2.