#include #include int main(void) { int result = ENOMEM; char * buffer = malloc(2); if (buffer != NULL) { result = 0; buffer[0] = 'a'; buffer[1] = 'b'; buffer[2] = 'b'; free(buffer); } return result; }