Quyidagi dastur qismi ishlashi natijasida ekranga nima chiqadi?
double a[]={2.5, 3.9, 4.8, 6.2}; int m = 0; for ( int i = 1; i < 4; i++) if (a [m] > a [i]) m = i; cout
<< a [m];
2.5
4.8
3.8
6.2
№159 Fan bobi – 2; Fan bo`limi – 1; Qiyinlik darajasi – 2;
Quyidagi programma qismi ishlashi natijasida ekranga qanday qiymat chiqadi? int
s=2468; cout<<(s%1000)/10;
46
68
468
24
№160 Fan bobi – 1; Fan bo`limi – 2; Qiyinlik darajasi – 3;
Identifikator sifatida foydalanish mumkin bo’lmagan javobni ko’rsating?
delete
dlete
intt
filoat
№161 Fan bobi – 3; Fan bo`limi – 2; Qiyinlik darajasi – 2;
Identifikator sifatida foydalanish mumkin bo’lgan javobni ko’rsating
inT1
float
for
double
№162 Fan bobi – 1; Fan bo`limi – 3; Qiyinlik darajasi – 3;
Quyidagi programma qismi ishlashi natijasida ekranga qanday qiymat chiqadi?
int a=456; cout<
460
456
460.56
4.56
№163 Fan bobi – 2; Fan bo`limi – 3; Qiyinlik darajasi – 1;
Quyidagi programma qismi ishlashi natijasida ekranga qanday qiymat chiqadi?
int c=25/3; cout << c;
8
25/3
8.3
8.(3)
№164 Fan bobi – 1; Fan bo`limi – 2; Qiyinlik darajasi – 3;
Quyidagi programma qismi ishlashi natijasida ekranga qanday qiymat chiqadi?
int c=14/4; cout << 8+c;
11
11.5
5.5
8+c
№165 Fan bobi – 2; Fan bo`limi – 1; Qiyinlik darajasi – 2;
Quyidagi programma qismi ishlashi natijasida ekranga qanday qiymat chiqadi?
int d=3; cout << d/2;
1
1.5
d
3/2
№166 Fan bobi – 1; Fan bo`limi – 2; Qiyinlik darajasi – 3;
Do'stlaringiz bilan baham: |