Aspire Faculty ID #16751 · Topic: AMU MCA 2025 · Just now
AMU MCA 2025

Suppose that in a C program snippet, following statements are used:
i) sizeof(int)
ii) sizeof(int*)
iii) sizeof(int**)
Assuming size of pointer is 4 bytes and size of int is also 4 bytes, pick the most correct answer.

Solution

Given that size of int = 4 bytes and size of pointer = 4 bytes, sizeof(int) = sizeof(int*) = sizeof(int**) = 4 bytes.

Previous 10 Questions — AMU MCA 2025

Nearest first

Next 10 Questions — AMU MCA 2025

Ascending by ID
Ask Your Question or Put Your Review.

loading...