Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

51. In C++, if the sub-expression on theleft side of the ______________ logical

ID: 3618617 • Letter: 5

Question

   51.   In C++, if the sub-expression on theleft side of the ______________ logical operator is false, theright sub-expression is not checked.

   52.   The trailing else in an if/elsestatement has a similar purpose as the ______________ section of aswitch statement.

   53.   The strcmp function is used to compare______________.

   54.   A loop that does not have a way ofstopping is a(n) ______________ loop.

   55.   The _____________ and _____________loops will not iterate at all if their test expressions are falseto start with.

   56.   To ______________ a value means toincrease it by one.

   57.   A loop that is inside another iscalled a(n) ______________ loop.

   58.   If a function does not return a value,the word ______________ will appear as its return type.

   59.   If a function has a local variablewith the same name as a global variable, only the ______________variable can be seen by the functions.

   60.   The _________________ appears abovemain() and shows the function name, return type, and parameterlist.

   61.   When only a copy of an argument ispassed to a function, it is said to be passed by______________.

   62.   A ______________ statement causes afunction to end immediately, and it may or may not send a valueback to main().

   63.   Subscript numbering for arrays in C++always starts at ______________.

   64.   To pass the array myvals[30] to thefunction calculate, the call might look like this:

      calculate( ______________ ,size);

Explanation / Answer

51) AND logical operator 52 ) default statement 53)    two strings 54) while(1) loop 55) for and while loops 56) increment value 57) nested loop 58) void will appear as return type 59) local variable 60) function prototype 61) pass by value 62) return statement 63)starts from 0; 64) calculate( myvals, size);

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote