Quiz Answer Key and Fun Facts
1. A double is classified as what data type?
2. Which of the following is a legal C++ variable name?
3. What is the symbol for the modulus operator?
4. Which of the following is a string constant?
5. What statement executes one set of statements when true and another when false?
6. What function is automatically called at the beginning of a C++ program?
7. Which loop tests a condition after its iteration?
8. Assuming 78, 57, 65, 54, 89, 49 is an unsorted array, what will the array look like after the first pass when using the selection sort algorithm (you want to sort in ascending order)?
9. By default, how is the memory address of a pointer written when needing to put one in a program?
10. What is the standard file extension for a C++ source code file?
Source: Author
ebanks120
This quiz was reviewed by FunTrivia editor
WesleyCrusher before going online.
Any errors found in FunTrivia content are routinely corrected through our feedback system.