Professional Documents
Culture Documents
Adobe Scan Mar 26, 2022
Adobe Scan Mar 26, 2022
ConSld ef
all he
he
belotdJable hich demonsis
Con Cept of Sfofage Clas ses
epend
aSed Aulo
(Loc0)
EegisteE ex1eEnSta tic
ata memoEyallocation
Pata
Data
ta FiC 6 fack
CPU DATA Le5S Stati c
sqmen Heqion
Regis1 INon BS)segm en
ol 0-01 Default value Gafba qe Gaebaqe |O]0.0 16|O-0
rhHougpol Ft e s Cope BloCk htoughout
glockPEb
the-lock
Therug houLfe timne Theoughoutthoughout hêoughouh fough
he Peogumy dhe funcH on functtbn the peog &am
PEo
To NO Exeena No
nc
EnKage
le
ASTt 15 default Stoeage clasS Weithng
T
autokeydoedS optibnal
he
Veeiable
to6 he auto
memo6Y tack FSeme. OF
allbcafed n he
9ets Fun cHon.
padtiCulae
he
inside
he a1abe S
5 (ope 1n wh 1ch
bloCK L FunCH on
h e
is efine
tifetme C he cruo Uafiable 5 insi
15ins
he
he function means hen Ne wlen
FEomthe function. memoey 4e1s declloca
o Catoe
dutb mo tically
ethee n j S e
Rad sanme ihe aatto
o stos
class
Date
Pane
dolo ype
Regisje Sto6age class is
TF he Fetch add BeSs
fhen Cant
aPpliCoble o Ohich pointee
that Vaeia b le.LDeu
e noF appliCable].
not aplicable
applicable
ape
clasS
Registek Sto&age Onion etC.
sfeuctuee
aSea
s R e g i s t e g s t o é o q e
We Cant use ab lp
he globeQ
class To8
Date
he abov cnCeT
Same n
execdel
@ualifieE Page
Da ta Type
COhich
a ConCep
Cualifie
nens
1S
@udllty
TO
an existing
c1able
ype Qualifi
Thei8 at
2).Volotie
Con SF
tonSt n Cctto
int No Jo
(onS} nt No2 J0 60 h64
NOt UAlouw ed
I N2 ++,1Not Allwed 00 6
o 22
eetutn No2 o
204
VDlotile
TF We use Vola tile keywoed we eques
to he Compiles that youhould Auotd
any optimi q}ion Stsajesg Nth tho Peiculat
Vapiable
The oncopt of Vola H e 15 a not
almos Same in
The ConCepof eeay 1s
evety
evee PEoq amminq Lanqu ae
iS ConSideg as detived
A8eaY
is Ceealed om he o heg
dol a pe
do ias |fucfue
8ea
7 188aY
hich
S
holds
cefined as
homoqenouk
aLineak
elemen
whithaet sfoee
SequenaQ and index o6mat
Sfoeing and
ala Data suchute is 1S nay of
he dafa in PaeH Culak
EepfeSenff1n
Foemot
Thei8 ate f0o of oata s {6u ctut
type S
a Lin eae da lo S8uctuee4non-Lineaé
uta Steuc tuee
Such dafa s
Linea dala Sleuctute e
acceSShe elemenf in Line e Passron
which
int AE e Cs]
T1Ae iS ne
medH o neQ
hich Cont cain S 5 ele ment 4 at &a
C S oF ach lClem
ach
pe nteaE en
A
8 a
membee oitilizadi on
AeLol
AE 2
AsE C2] - 54
As [31- Jo
2
AE 2
200 204 208
5 Lo
212 2 6
220
of
A6 fa
ase AdeECS S
ConStc eg he belo S nlax hh S
used fo C8eae dhe a8q
nt A8Et5J;
is above Syn lax iS definalicn of 68
oS it S
os is Consio ee aS defination memof elsS
Tlocated ctt haB point
he aS
we Can ead a bove Statement
2
54 o
yAee 2 216 20
208
Nme
tf
A@ea Base oddBess
mememoe
to the
above Slax
Due Te hal
We Can in itiali
alloCa ed belou ptax
Cal l e d
C a l l e d
h i s Ype O} n tell7ation
membef
membeeE b
AEet 24
A66C2 51
AFe r_= 10
A6r4
fncexing
incexing oF Aee Aldas sjast som a
TF We
n0izethe ag say
initataton ist then uSi ng membe
Specit he E 15 optiona
SICe
oFhat
ntC8e tJ 1 , 2
5 oA .
TF he menmbeeinlialiealton isl IS no
4hei and Sire o Eeay IS noSpert fied he
Compieg oilgenepaf e Bo6 8eouo (omp! et
unable deide ne Site tht
A ddEesS oF opeeatog l 4 j
In Case F Cand Ctt 4 is Consioeg
a dd êeSS OF Opeea to8 hfch gives
vhe ádde eSS oF any Vagia ble that e uSe
i'n ou PEogeam.
The addsess displaced by hS a opea lo8
S add8 ess gene8afed bthe
OPeeotin System
hen we execu}e oue Teogeam multPle
tmeS itoilldis
play diffeeen adde e SS
Sizeof c) opeeooe
1Suced in Cand c t
uhir
cata Objec Som
ves sice OF
ang
any
FSoqeam
- size oF opesaloe ves
in blees
ConsideF the belou exampe hich emonsenc
Cand
Hinclude <s}è1o h
Int mainC)
Tndiro J; Ch
Chae Ch H/ A
200
eetno
Date
toemal 6peciiieES
olo5 Seing
200
1
age
imrS
imenSn 45so
I he AEa
hon eleme
e e fault
at TY c
cuble
int DSe[
Date
Page
Ue Can I n I t a I Te
above
memb eg
a98at USIna meN beg
ntial1za t0n
fechn que
AeeL= 20j
ASE [2 36 2
A EE[s=40 Aeeo 160
20
3 4
104 O8 t2
Consideg h ebelod
TWo dimenSion
bee s Too
e ConFains
DimensioncQ AS8a
3 one
Confains DimeS1onaQ
elemen
and ea h
elemen is
Tye inteqee
Consices he beloS Dageam fic KepESente
hREE [o ,
bee[oJT
beeColr:] 12
bEelol L3) 13;
11
beEL2JLI 10
ConSidee he belo
membeeb me m be3
beelo]
bee CoIC2]=12
bes[2] L o_
32
each eto
Applicottons a
dd Ees
sej a
Lon Pes
inFege TTPe
The size CF
Loainteae4 7s
Due othe obcve P
Pointee is &bytees site oF
ea Ch
Thee
nd The lecle. modo
AT Nhe
OF (Eeotng s
eogeaming Lang 3 72] OS ce n Bea
mode9
1 a b le
Such Ype OF PI* no
n Tod@S S Bers e
S e
Sche,
Flo addfessinq RAr
hbabYe
1024
huge poin/eé
neat Poin fe
tO640KB
Xomle
nno J
inl p - n o
20t
al