3 ms·I don't see what is 'horrible programming practice' about int *x = malloc(sizeof(int));by milesrout 10y agoI don't see what is 'horrible programming practice' about int *x = malloc(sizeof(int));maccard 10y agobecause malloc doesn't return an int, it returns a voidmilesrout 10y agomalloc returns a void pointer because it implicitly converts to an int pointer, as it should.