Consider the following C code:
The code suffers from which one of the following problems:
c
- Acompiler error as the return of malloc is not typecast appropriately
- Bcompiler error because the comparison should be made as x == NULL and not as shown
- Ccompiles successfully but execution may result in dangling pointer
- Dcompiles successfully but execution may result in memory leak

