what's the problem with line number 12?

1    #include<stdio.h>
2    #include<conio.h>
3    void main()
4   {
5        clrscr();
6        int n[3][3]= {
7                             2,4,3,
8                             6,8,5,
9                             3,5,1
10                     };
11      int i,*ptr;
12     ptr=n;
13     for(i=0;i<=8;i++)
14        printf("\n%d",*(ptr+i));
15     getch();
    }

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to