yikes Flashcards
Who made c++
Bjarne Stroustrup
C++11 was the first standard released by the ISO group for the C++ language.
The first ISO standard for the C++ programming language was C++98, released in 1998.
The C standard library is included in the standard C++ library.
T
A C++ program can contain and compile well-written C code.
T
C++ programs are first compiled to intermediate “O-code” files.
T
The GCC compiler (ported to MinGW) is the only C++ compiler that adheres to the ISO
standards.
F
Atomic types (like int) cannot be initialized using ( ) as objects are.
F
The long double type uses extended precision in C++.
T
The var keyword uses type inference to type variables in C++.
F
Dividing a non-zero double type value by zero causes a run-time error.
F
C++ style casts are templated.
T
The memory consumed by a reference depends on whether you are using a 32-bit or a 64-
bit compiler.
F
A reference cannot be assigned to nullptr.
T
It is not legal to have a pointer to an atomic type variable, like an int.
F
The operator, &, acts to de-reference a pointer.
F
The operator, ->, combines de-referencing and membership when used with a pointer.
T
By using pointer arithmetic it is possible to read memory locations that have not been
assigned to variables.
T
A C++ array will not allow you to supply index values that are out of range of the array.
F
A struct can only contain members that are all of the same type.
F
The operator, |, is the same as ||, except that it does not use short-circuit evaluation.
F
The assignment operator, =, returns the value being assigned.
T
In a Boolean expression a non-zero integer will be considered as false.
F
A pointer that has been assigned to nullptr will be evaluated as being true.
F
The goto statement is legal syntax in C++.
T