4. Write and compile short programs to test the following issues:
a. Determine whether your compiler will allow the #include <iostream>
anywhere on the line, or if the # needs to be flush with the left margin.
b. Determine whether your compiler will allow space between the # and
the include.
a.
//To determine whether the compiler will tolerate
//spaces before the # in the #include:
#include <iostream>
int main( )
{
cout << "hello world" << endl;
return 0;
}
b.
//To determine if the compiler will allow spaces
//between the # and include in the #include:
# include<iostream>
using namespace std;
//The rest of the program can be identical to the above.