Quiz 3(2) - Quiz 3 Name: _Duwor Samah_ points Due: August...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Quiz 3 Name: _Duwor Samah________________ 20 points Due: August 14, 2009 True/False Indicate whether the statement is true or false. _T___ 1. To use a predefined function, the program must include the appropriate header file. _T___ 2. To use the predefined function exp , the program must include the header file cmath . _T___ 3. The output of the statement cout << toupper('8') << endl; is undefined since there is no upper case letter corresponding to '8' . __F__ 4. The output of the statement cout << static_cast<int>('b') << endl; is 66. __T__ 5. The following function heading in a C++ program is valid: int funcExp(int u, char v, float g) _T___ 6. The function heading int funcAlpha(float u, char v, int g) in a C++ program will cause a syntax error because the function return type is int and so the first parameter, u , must be of type int . ___T_ 7. In C++, a function prototype is a declaration, not a definition. __T__
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/15/2009 for the course IT TEC235 taught by Professor G during the Spring '09 term at Central Pennsylvania.

Page1 / 3

Quiz 3(2) - Quiz 3 Name: _Duwor Samah_ points Due: August...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online