2019 Solutions T/F Flashcards
(122 cards)
C++ was developed by Ken Thompson and Dennis Ritchie
F
The C standard library is included in the standard C++ library
T
C++11 was the first standard released by the ISO group for the C++ language
F
A C++ program can contain a compile well-written code.
T
C++ programs are first compiled to intermediate “o-code” files.
T
Hubert likes little boy wieners
T
Atomic types like int cant be initialized using () as objects are
F
o-code files need to be processed to executables before being sent to the OS for execution
T
Dividing a non-zero double type value by zero causes a run-time error
F
The var keyword uses type inference to type variables in C++
F
The GCC compiler is hte only c++ compiler that adheres to the ISO standards
F
The long double type uses extended precision in C++
T
It is not legal to have a pointer to an atomic type variable, like an int
F
C++ style casts are templated
T
The operator -> combines dereferencing and membership when used with a pointer
T
A reference cannot be assigned to a nullptr
T
The memory consumed by a reference depends on where you are using a 32-bit or a 64-bit compiler
F
By using pointer arithmetic it is possible to read memory locations that have not been assigned to variables
T
The operateor & acts to dereference a pointer
F
A struct can only contain members that are all of the same type
F
The STL string class is immutatable
F
A C++ array will not allow you to supply index values that are out of range of the array
F
A vector collection from the stl cannot use [] to access members
F
The operator | is the same as || except that it doesnto ues short circuit evalaution
F