i am trying to read a char txt file and store the values in 2d array but my console window in not showing any output
enter code here#include <stdio.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
int main(){
char A[10][10];
FILE *fp;
int i,j;
fp=fopen("DATA.txt","r");
if(fp == NULL)
exit(1);
for(int i=0; i<10 ;i++){
for(int j=0; j<10; j++){
cout<<A[i][j];
}
cout<<"\n";
}
return 0;
}