i have write that code i m new in programming this code doesnt work in one source file but when i type exact same in other file it start working
#include <iostream.h>
main()
{
char std1[20], std2[20]
cout << "enter your name student"<<"\n";
cin >> std1;
cout << "enter your name student2" <<"\n";
cin>> std2;
cout << std1 << "\n" << std2;
return 0;
}
any idea any one?