In C ++, the permissible variations in the names of identifiers
The sign '_' and digits.
Any characters with ASCII-code older than 128.
The "@" and numbers.
Any characters except those used in arithmetic and logical operations.
signs "$", "@", and letters.
An enumerated data type in C ++
enum
int
double
float
char
"False" in C ++ takes the form and means:
one of the two values of type bool
lack of communication with the processor peripherals
the temporary suspension of the computer
the need to perform a "warm start"
errors when entering information
"True" in C ++ takes the form and means:
1
lie
the result of the correct compilation of the program
the absence of errors when entering information
the absence of errors in the derivation of the information
The result of a logical operation in C ++ is
true - true or false - false
a turnkey solution
the derivation of
values
a mathematical proposition
The result of a conditional expression in C ++ is:
the truth - true || false - false
true - false or false - true
the truth - or false 2 - 1
Inequality
conclusion
Data - is:
is a set of memory cells, having certain properties
a set of numbers
the sequence of actions
a sequence of characters
the set of libraries
Standard char data type in C ++ defines:
to describe the type of ASCII Code
number type
integer type
boolean type
enumerated type
Standard types of data that exist in C ++:
bool
integer
real
shared
protected
Standard data types do not exist in C ++:
boolean
string
The modifier const in C ++ allows you to declare several types:
constants
non-constants
data types with sign
Local
changes as a result of external events
In C ++, the permissible variations in the names of identifiers:
Uppercase and lowercase letters.
The "_" number and the sign "#", "@".
The access to the members of the class indicated by:
firstprivate
interface
article
set..of
Permitted data types in C ++:
string.
referenced.
the column.
Numeric.
system.
Expressions with the correct execution of the assignment in the language C ++:
char a = '123';
char a [] = {123};
int a [] = "123";
int a [4] = '123';
a char [4] = '123';
Key words in the language C ++:
this
endl
constructor
size_t
of
Symbols s, x, u, controls the formation of the C language for printf means the expected type of input:
hexadecima
floating-point numbers of double-length
unsigned decimal number
a decimal number
Symbols X,o,s, controls the formation of the C language for printf means the expected type of input:
hexadecimal
floating-point numbers
point-number
Enter standard data types char, double, float in C ++?
floating point type, text type, floating point double-length type
text type, integer type, boolean type
empty type, character type, integer type
enumerated type, floating point double-lengh type, text type
integer type, primitive type, structure type
Correctly declare variables in C ++ :
char str [ 256 ] = " 12345" ;
int pi = 3.1415;
real a = 0.1;
const N = 10;
A = 10 char
The correct ranges of data types in C ++ :
unsigned int 0 to 4 294 967 295
bool from -126 to 126
short int from 0 to 254
float from -2,147,483,648 to 2,147,483,647
double from -2,147,483,648 to 2,147,483,647
Acceptable simple types in C ++ are:
unsigned long
unsigned bool
long char
long float
unsigned float
Two bytes of RAM in C ++ occupy :
unsigned int
short float
word
small int
Real types in C ++ are declared :
floating
single
Valid variable names in C ++ are:
Asm
312m $
1var
% Asm
1str
The scope of the variables in the language C ++:
Local visible within the function.
Global-interclass visible to all child classes.
Global, visible within a block enclosed in braces.
Specific global-visible code within a distance of 64 kBt.
Hidden-local, visible within a single expression current operator.
The correct description of the standard data types in C ++ :
void empty type
enum text type
enum integer type
float empty type
void type text
double type floating-point double-length
double floating point type
void type floating-point
char empty type
enum enumeration type
void floating point type
int floating point type
enum - enumerated type
int - empty type
char - type text
bool - type floating-point double-length
double - floating point type
The correct description of the standard data types float, int, void in C ++ :
floating point type,empty type,integer type
enumerated type,empty type,integer type
empty type,integer type,structure type
text type,empty type,structure type
structure type, integer type, floating type
The correct description of the standard data types float, enum, void in C ++ :
enumerated type, empty type, floating point type
empty type, integer type, boolean type
text type, floating point type, structure type
the type of floating-point double-length, primitive type, structure type
floating point type, text type, enumerated type
The correct description of the standard data types char, enum, void in C ++ :
enumerated type,text type, empty type
floating point type,text type, empty type
the type of floating-point double-length,text type, empty type
integer type,text type, empty type
a primitive type,text type, empty type
The correct description of the standard data types char, double, float in C ++ :
floating point type, text type, floating point double length type
text type, empty type, integer type
empty type, enumerated type, floating point type
enumerated type, character type, boolean type
integer type, structure type, integer type
The correct description of the standard data types enum, double, float in C ++ :
the type of floating-point double-length,floating point type,enumerated type
empty type,structure type,the type of floating-point double-length
text type,structure type,the type of floating-point double-length
enumerated type,structure type,the type of floating-point double-length
integer type,structure type,the type of floating-point double-length
The correct description of the standard data types int, double, float in C ++ :
floating point type, floating point double-lenth type, integer type
empty type, text type, primitive type
text type, integer type, floating point type
the type of floating-point double-length, empty type, structure type
a primitive type, integer type, floating point double-length type
The variables X, Y provided: int X=1, Y=15; X=--X-Y; if (Y<15) X+=15; else X-=15 have the following results:
X= -30, Y= 15
X= -31
X=-31
Y=-15
Y=30
The variables X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y+++Z; if (X<3) X++have the following results:
X=5
X=4
X=2
X=3
X=1
The variables X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y+--Z; if (X<3) X++have the following results:
Z=1
X=0
The variables X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y++-Z; if (X<3) X++have the following results:
Z=2
X=-2
The variables X, Y, Z приусловии: int X=2, Y=1, Z=2; X+=Y---Z; if (X<3) X++have the following results:
Y=0
X= 5
Y=4
The variables X, Y, Zprovided: int X=2, Y=1, Z=2; X-=Y+--Z; if (X<3) X++have the following results:
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y ++ - Z; if (X <3) X++ have the following results:
Z = 2
Y = 4
X=30
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y +++ Z; if (X <3) X++ have the following results:
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y --- Z; if (X <3) X ++ have the following results:
X= 0
X=9