Skip to the task
Layout
Back to classic view

You are looking ahead. Your place is still task 1: About.

CHECKTask 4 of 17 · step 2: Questions 1–6sizeof of an array and a pointer
sizeof of an array and a pointer in practice/11/

int a[10]; int *p = a; What does printf("%zu %zu\n", sizeof a, sizeof p); print on a 64-bit computer?

Details & hint

Stuck? 40 8: the whole array is 10 × 4 bytes, a pointer is 8 bytes. (Topic 8)

practice 11 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p11_measurements measurements.c)
course_data(measurements.txt bad.txt)