1/12
Flashcards covering key concepts related to simple data types and operations in C++.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
The size of a C++ char value is always __.
1 byte
Using one byte (8 bits), the number of different numbers that can be represented is __.
256
Using two bytes (16 bits), the minimum value represented can be __.
-32,768
The storage size for a C++ int type is __ bytes.
2 bytes
The type of data that holds values true and false is called __.
bool
In C++, a union is a struct that holds __ of its members at a time during program execution.
only one
The header file that contains constants for maximum and minimum values is __.
climits and cfloat
An enumeration type in C++ can be defined using the keyword __.
enum
In C++, combined assignment operators can be used as __.
shorthand for basic arithmetic operations
To declare a struct type, the syntax starts with __.
struct followed by the struct name.