Multiple choice

What is printed by the following C program?

int f(int x, int *py, int **ppz) void main() {
  {
    Int y, z;
    int c, *b, **a; **ppz + = 1;
    z = *ppz c = 4;
    b = &c;
    a = &b; 
   *py + = 2;
    y = *py;
    printf(“ % d”, f(c, b, a));
    x + = 3;
  }
  return x + y + z;
}
``

  1. 18

  2. 19

  3. 21

  4. 22

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