C++ Quiz on First Program
1. What is this called, <iostream>?
b) pre-processor directive
2. If we were to not declare using namespace std, could we still somehow use cout and cin?
3. What would be required to use cout withouth declaring namespace
4. In int main(), what does the int stand for?
5. What is the correct way to print to the screen?
a) cout<<"My first program"<<endl;
b) cout<< ("My first program);
c) cin<<"My first program<<endl;
6. What does the 'endl' do?
a) enters a new line
b) prints to the screen endl
c) does nothing
7. In the end of a program we must return and integer, what integer?