C++: a beginner's Guide, Second Edition



Download 11,33 Mb.
Pdf ko'rish
bet187/194
Sana12.03.2022
Hajmi11,33 Mb.
#491693
1   ...   183   184   185   186   187   188   189   190   ...   194
Bog'liq
C A Beginner\'s Guide 2nd Edition (2003)

 
5.
 


15 
C++ A Beginner’s Guide by Herbert Schildt 
6.
 
A function should not return a reference to a local variable, because that variable will go 
out-of-scope (that is, cease to exist) when the function returns.
7.
 
Overloaded functions must differ in the type and/or number of their parameters.


16 
C++ A Beginner’s Guide by Herbert Schildt 
8.
 


17 
C++ A Beginner’s Guide by Herbert Schildt 


18 
C++ A Beginner’s Guide by Herbert Schildt 


19 
C++ A Beginner’s Guide by Herbert Schildt 
9.
 
10.
 
Function overloading can introduce ambiguity when the compiler cannot decide which version 
of the function to call. This can occur when automatic type conversions are involved and when 
default arguments are used.
Module 7: More Data Types and Operators
1.
 
static
int test = 100;
2.
 
True. The volatile specifier tells the compiler that a variable might be changed by forces outside 
the program.
3.
 
In a multifile project, to tell one file about a global variable declared in another file, use extern.
4.
 
The most important attribute of a static local variable is that it holds its value between function 
calls.
5.

Download 11,33 Mb.

Do'stlaringiz bilan baham:
1   ...   183   184   185   186   187   188   189   190   ...   194




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

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish