could any one tell why the following is showing segmentation fault while using **ptr
but working fine using **a
#include<stdio.h>
main()
{
int a[3][3]= \{
1,2,5,
4,5,6,
8,9,0
\};
int **ptr;
ptr = a;
printf\("%d\\n" , **ptr\);
}