Fayllar bilan ishlash oqimlariga qaysilar kiradi fstream, ifstream, ofstream


Download 0.67 Mb.
bet21/25
Sana23.11.2020
Hajmi0.67 Mb.
#150919
1   ...   17   18   19   20   21   22   23   24   25
Bog'liq
AKT


Ushbu dastur natijasini toping(a = -10, b = 17, c = -20):

  1. 1

  2. *0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(a = 10, b = -17, c = -20):

  1. *1

  2. 0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(a = 10, b = 0, c = 0):

  1. *1

  2. 0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(n=347):

  1. *1

  2. 0

  3. true

  4. false

  5. dasturda xatolik bor

16.

Ushbu dastur natijasini toping(n=757):



  1. 1

  2. *0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(n=787):

  1. 1

  2. *0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(n=775):

  1. 1

  2. *0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(a = 12, b =-21, c=21):

  1. 1

  2. *0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(a = 12, b =-21, c=21):

  1. *1

  2. 0

  3. true

  4. false

  5. dasturda xatolik bor



Ushbu dastur natijasini toping(n=751):

  1. *1

  2. 0

  3. true

  4. false

  5. dasturda xatolik bor

1.Chala shartli operator qaysi?

a) if (…){….} else{….}

*b) if(…){…}

c) else{….}

d) barcha if(…) qatnashgan operatorlar

2. “bool” tipi qanday qiymatlar qabul qiladi?

*a) 1 va 0

b) (0, 425679)

c) (-24568, 24567)

d) (0, 256)

3. Ishorasiz butun son tipi qaysi?

a) char


b) double

c) int


*d) unsigned

4. a=5 b=-4 dagi natijasini toping.




  1. Download 0.67 Mb.

    Do'stlaringiz bilan baham:
1   ...   17   18   19   20   21   22   23   24   25




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling