can anyone help me to look at the code and what is the problem is????
No output at all!
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mysql.h>
const static int NUM_RECORD = 3000;
void FUNC(char name[][30])
{
name[0][30] = "John Tennon";
name[1][30] = "Bod Tender";
name[2][30] = "Lemon Tennon";
}
int main()
{
char name[NUM_RECORD][30];
FUNC(name);
int a;
for (a=0; a<NUM_RECORD; a++)
printf("%s\n", name[a][30]);
return 0;
}
Thank you cire....
I solved it with u code. Output can see right now.. TQ