in the following code i am trying to read a file containing 0,1,2 patterns, on running it fails and shows that binary.exe file failed. can anyone suggest :



#include<stdio. h>
#include<iostre am>
#include<conio. h>
using namespace std;


int main()
{
//clrscr();
int a[5000][1],t=0,tb=0,tn=0, w=0,tn1=0,z=0,f n=6,x=0,d=0,v;
int i,n,p[10][1]={3,3,3,3,3,3,3 ,3,3,3},j=0,k=0 ,m=0,l[3][1]={1,1,0},s[5000][1],r=0,bn[10][1],b=0,f=0,result[1000][1]...