Suppose i have a main.cpp file and a test.h file:
///////////////////////////////////////////
//main.cpp
#include <iostream.h>
#include <string.h>
void test();
char foo[200];
int main()
{
strcpy(foo, "testing");
test();
return 0;
}
//////////////////////////////////////////////////////////////
//test.h
void test()
{
cout << mir << endl;
}
WHY IS "mir" AN UNDECLARED IDENTIFIER