Below is what is considered the hardest trivia quiz on C++ programming language. It is designed for those of us who are studying towards passing the certification exam. Gaming developers mostly prefer the C++ language since it is...
What is the output of the following function and function call?
void calculateCost(int count, float& subTotal, float taxCost);
float tax = 0.0,
subtotal = 0.0;
cout << "The cost for 15 items is " << subtotal
<< ", and the tax for " << subtotal << " is " << tax << endl;
//end of fragment
void calculateCost(int count, float& subTotal, float taxCost)
if ( count < 10)
subTotal = count * 0.50;
subTotal = count * 0.20;
taxCost = 0.1 * subTotal;
C++ Programming is one of the most common programming languages that a programmer is expected to understand in detail. Do you think you need a way of reviewing what you know about this language and its uses? The quiz below is...
Questions: 17 | Attempts: 570 | Last updated: Oct 22, 2020