hello
i have defined global variables like this
then i have function initializeintentableCode:int ntests; int concepttable[numconcepts][TEST_SZ]; int intenttable[numconcepts][predsize];
from another function when i call initializeintentableCode:void initializeintenttable () { int i,j,; for (i = 0; i < numconcepts; i++) for (j = 0; j < TEST_SZ; j++) { intenttable[i][j] = 0; } }
value of ntests before and after call is not same
i dont know why waiting for a prompt reply
I am sorry for above stupid question
as I declare intentable to be of size lesser
but any how why it didnt gave me segmentation fault



LinkBack URL
About LinkBacks


