hello
i have defined global variables like this
Code:
int ntests;
int concepttable[numconcepts][TEST_SZ];
int intenttable[numconcepts][predsize];
then i have function initializeintentable
Code:
void
initializeintenttable ()
{
int i,j,;
for (i = 0; i < numconcepts; i++)
for (j = 0; j < TEST_SZ; j++)
{
intenttable[i][j] = 0;
}
}
from another function when i call initializeintentable
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