This special C++ data type allows the storage of a single character and uses single quotes to denote its value.
What is a char?
This loop type continues until its condition is no longer true and can be used for a block of code to execute a predetermined number of times.
What is a for loop?
This term describes a function that is defined inside a class and can be called using an object of that class.
What is a member function?
This is the default value for an integer array element that is not explicitly initialized.
What is zero (0)?
This data type represents a binary state, often used for true/false conditions.
What is a boolean (or bool)?
In this type of loop, the condition is evaluated before the loop's body executes, meaning the body may not execute at all if the condition is false from the start.
What is a while loop?
This allows a function to be called with different numbers of arguments, depending on the context.
What is function overloading?
To access the third element of an array named arr, this syntax is used.
What is arr[2]?
This data type is used to store whole numbers without any fractional or decimal part.
What is an integer (or int)?
This statement is used within a loop to skip the current iteration and move to the next iteration of the loop.
What is the continue statement?
This special type of function is used to initialize objects and has the same name as the class.
What is a constructor?
This operator is used to determine the number of elements in an array.
What is sizeof()?
This floating-point data type is used to store numbers with decimal points in C++ and other languages.
What is a float?
This statement terminates the loop immediately and transfers control to the statement following the loop.
What is the break statement?
This allows a function to be called with arguments by reference, which can be used to modify the arguments.
What is pass-by-reference?
This is the size of an array arr if sizeof(arr) returns 40 and each element is of type int which is 4 bytes.
What is 10?
This data type stores a sequence of characters, often used for text.
What is a string?
In a do-while loop, this keyword is used to ensure that the loop's body executes at least once before the condition is tested.
What is do?
This function feature involves using a function as an argument to another function.
What is a function pointer?
To declare an array with 5 elements of type double, you use this syntax.
What is double arr[5];?