A website said that malloc doesn't set the value returned to zero.
So I decided to test it using this code:
#include<stdlib.h>
#include<stdio.h>
int main() {
    size_t is = sizeof(int);
    unsigned int *l = malloc(is);
    while((*l)==0) {
        free(l);
        l=malloc(is);
    }
    return 0;
}
Will this ever return or run forever.
I waited a while for it to stop but it hasn't.
 
     
     
     
    