#include<stdio.h>
int main ()
{
int a[10][10]={0};
int x,y;
for (x=0;x<10;x++)
for (y=0;y<10;y++)
{printf("%d\n",a[x][y]);}
return 0;
}
Have a Read!
Hi Everyone.
The idea for this page is to provide new c users simple c tutorials to learn how to develop the logic and more importantly correct way to write syntax.
ENJOY !!!
Sunday, February 6, 2011
C Program for initializing 2d array
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment