Multiple choice

What is the size of a pointer in C, which stores the address of structure str1 in the following C code? struct str1 { int number; char ch[15]; float f1; }

  1. 15 bytes

  2. 23 bytes

  3. 27 bytes

  4. 4 bytes

  5. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Size of pointer is always 4 bytes, because it contains the address in the form of integer.