Note: (Restricted functionality due to obvious reasons!)
Minimal Code ( Raw-View ) :
#include<iostream.h>
#include<conio.h>
void main()
{
int a[50][4],n;
cout<<"Enter the number of students : ";
cin>>n;
for(int st=1; st<=n; st++)
{
cout<<endl<<"Enter details for student "<<st<<" : "<<endl<<endl;
for(int sb=1;sb<=4; sb++)
{
cout<<"Enter marks for subject "<<sb<<" : ";
cin>>a[st][sb];
}
}
for(st=1; st<=n; st++)
{
cout<<"Marks of student "<<st<<endl;
for(int sb=1;sb<=4; sb++)
{
cout<<"in subject "<<sb<<" : "<<a[st][sb]<<endl;
}
}
}