Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C (http://www.domainnameforum.org/forumdisplay.php?f=124)
-   -   malloc behaving strangely (http://www.domainnameforum.org/showthread.php?t=87551)

C++ 04-17-2010 12:18 AM

malloc behaving strangely
 
I am getting unpredictable behaviour from malloc(). Here is the code fragment: float **t; t=(float **)malloc(sizeof(float *)*A); perror("\nError status 1:"); for(i=0;i


All times are GMT -4. The time now is 06:58 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.