PPL Assignment 1 Arnav Sharma
PPL Assignment 1 Arnav Sharma
Asciqnwmemt-1
Axnay Shasma ENo-02g18002?2 seclcer - B|6
Secllen.
subject:- riiple o Rogumig langaag Coo CLE -320 .
Hn--vae
ident hable temrnenly denole
-
(i
memo g loccln
e one with an add ve) Ther te m
"-vau
idConteutat
descbey a
objot. An auy
meoy locain that fe wwd tu
Aype
with the
hibti fs al Prohioite foy chcungeble
lvalue n Poinlea agithmee
y
" Nemo Sin c an L- value nes a me
addreu relene portu
addre,it can be cunid ic an L- vole
" Poiwtm Incrent Decrewwt' \when c Poiuter
locoien.
Tt can be moci ied to point noth en memog
to ctes oY moci
pointey
Deceencng (" ph)lvalue all ouosaddve
the valshored at a meno
Ex: nt mainl)
int X= \0 on L- y a e
int tpr Rn devefeed
| vaid bercecc t p
*ptr = 20j
cout <prj
seluyno,
3.
vae thot doe not
# R-Valui- A-R- vae tenpor fe a
have a spe cit'c menet localien and cannot be angd.
Pointe Arithmetie
Role in
Pointer anthmie openahioy lilke v+|
.n4dreu Compwaion):
n R-vau
pdue
Expreuon- Adding an ategen to derelenud
Tasmp orcuy an R- valrC*phr).
.inter givei
10,20, 363,
t amC1=*
int pr asY
nt y= *(phrt)*lphrt) is an R vae
Cx>lo) ?-
y= Eruple
.
-op.(relahoncl thmetie) (cui
prewe]END
Openetox. Bincy coitn anige fograph
s Sttav
symbols and A
vicually grcuph . gtav
GaA
uin ruler repreuth
Ascigument: fox Graph Syatav O)
be. =Lnum (Comtat>: (Vauiable
ferlideuh =
|")=""">"|
"4= ..onol-op:"==
"*w"/" |"_"| +"
<expreoy| <relahonal-op KanignmeKaaiKexprn-to:=:pt?hmeheeion)
exprenion>canithmetic-op
<expreiony <vaiables =
cexprenons "
egralning
languaeu
wing
roouchion
su tormal fc
aFom)
nolatiou Dpelt back
aibe towndAssignmeat foNotahon
r 1)GNE
binauy wny
aional euithmec
ond et
SNF the Disw
Sytay andnolatuoy
Grapha
to