C++ Practical Journal 02
C++ Practical Journal 02
to demonshrate
lAim: Pngzam.
we declareaniotegar auable
thic pogran
heoyi a value 'b Wethen
e celetea polnto
Can store the
katiableph uhih
tpe an'in lodeger vatable:.
memy addecs
Code#incdude siastem 2
int
int xs5;
Kendl'
Cout ee " Value ol X"<X
Xi<<RY<endli
-catt<« " Addtess
<endl
Coute " Value q ph- "e< phi e *phKendl
Cat " Value addresc pBr
Coutee" Neut value KI Kedl:
retatno;
lOutput i Value g is
Addtess ti o19 fey
Value pt : ax 76fery
Vaue addrecsph. s. New yalue fKi 10
FOR EDUCATIONAL USE
Sundaram)
PRACTICAL- 013
demas hate tert and Biray Ale handing
hecny hn thic þoq1am we fict cemashrae tect ke handla
lWe cteate foo fr a tect ile op
the fle tor wtitg ond then wte som text to Ale
the "<< " oporator
Cade i nchude <lastieam>
# Íncdude <kteam
# ioclude <ctigz
Ustag natneçpace std
ofshem tecfile
tertfile. op97 (" tect fl ".tet"):
shigline
uhile lgehine C textilen Jine))
Caut c< line << ndl
ofcten binfle.
bioile.open (' Binay-Ale. bia" las ot ia:bltatny 2,