Dear members, 
Whenever I call a dll to multiply two matrices in labview, it crashes. plz tell me what can be problem , i m ataching the .cpp file  
#include "matrix1.h" 
#include "stdafx.h" 
#define DllExport  __declspec(dllexport) 
 extern "C" DllExport void mult(int x,int y,int z,int aa[10][10],int bb[10][10]) 
{ 
	int i,j,k,cc[10][10]; 
	printf("Result of Matrix Multiplication"); 
  printf("\n"); 
	    for(i=0; i<x; i++ ) 
		for(j= 0; j<y; j++ ) 
		    cc[j] = 0; 
	    for(i=0; i<x; i++ ) 
		for(j=0; j<y; j++ ) 
			for(k=0; k<z  ; k++ ) 
			 { 
			  cc[j] += aa[k]*bb[k][j]; 
			} 
 } 
 /*Printing Elements of Matrix*/ 
 DllExport void  prntm() 
 { 
	 int i,j,x=0,y=0,cc[10][10]; 
	for(i=0;i<x;i++) 
	  { 
	   for (j=0;j<y;j++) 
	    { 
	      printf("%d",cc[j]); 
	      printf("\t"); 
	    } 
	    printf("\n"); 
} 
} 
Plz tell me as soon as possible. 
Thanks in advance 
Pooja