[so] assert

Alin Popescu alinpopescu at live.com
Sat Jun 20 21:41:10 EEST 2009


Salut

Nu am inteles un lucru. Care ar fii diferenta intre urmatoarele doua  
abordari:

char *m = malloc(125);
if (m == 0)
	exit(0);


si


char *m = malloc(125);
assert(m != 0);


More information about the so mailing list