Answer to Question 30A-4

No, it is not acceptable because character constants should be written as character constants, not as integers. Use
  if(c == '\n')
  {
    ...
  }