Home » C Programming » Error Handling » Question
  1. Which of the following causes an error?
    1. Failure to allocate memory with the help of malloc
    2. Inability to write data in a file
    3. Trying to read a file that doesn’t exist
    4. All of above
    5. None of these
Correct Option: D

Option A, B and C causes an error.



Your comments will be displayed only after manual approval.