The problem is,the col val is not getting printed.I am using turbo c compiler.The second part of the code is the exact copy of the 1st part.No statements after scanf("%d",&col); is getting printed.Please help me understand,how to solve it.Thanks in advance.
printf("enter the row no.\n");
printf("the row val is :%d\n",row); //test
printf("enter the col no.\n");
printf("the col val is :%d\n",col); //test