Answer to Question choice-2

  if(n != 0)
  {
    z = 1;
  }