0 ratings0% found this document useful (0 votes) 124 views50 pagesAdvance C Programming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
oN
Nome:-Diskiy Devendra A sub,
Semester: Smeal Sema Div: 4. Roll No.2. 4
Sr. | Page Date Of Remarks/
No. | No. Particulars Submission | _ Signature
[312 | Part-2 veer Nefnedt Kine
D1 2 friciny weer defined Ametan
Louth no Aebuan Velie ened ovn
CYGurn ent
& | Simole Interert Use oe.
Cen Of cigcle using UE
§ |moxtmimn of tuo lodege
soumbe? UDF
be fe
WwW
5.1 un of euy ele uchn UDF.
6.1 6 bnetimunn elt. umm unto
Using UDF
2] + |fucnmia: of o given no
Fl 9 | Fibonoces reries uta ne.
129 | 9 | Port? SHoncturer & Union &
2.19 [Hhoay duta. using Stow
2th inane Lontereest
3_[ 2 | sizuctive Cutcu lute
4 | 14 | sunjente of a student rivtng
Stouetut ¢
s| 1 | s) i z
Shaucluae_
19. | Student tina o2%y of Ot
Ag [stouctuze Gnd uray tolls
Stu chure.
8.1 49 | Per nul inform ation
9] 21 [3 sub; using S12 Peasy dam
orem Uru. UDF,
>
Scanned with CamScannerON © i
Date OF Remarks/
Sr. | Page Particulars Submission | _ Signature
No. | No.
2p | 22 | Ponoter Cup
a} 2c wap jnteges vereithle eid
barnter
| 23 | wap. ‘addixion UP
3.1 24 [Display mere, mesroee
61 26 LWwAP Doeutions inn memory UP
S| 26] WAP Using pointee to 2evedre
the Qiven ono
6. | 24 Lentuy of n elementr.
| Bo |woAp poms +0 end crPQuy
F.{ 3) | eve crytuy. paint Sum of ele.
4 rele orev. Rnd ~Sumn of add
und even ele. of ceo
| to. | 34 [pf pp find cidd ., Sub. Cro
Ii 3¢ |upF ve swap value fo
2. | 37 Lopt UP Simpie intey est
S9 | 34 | File Hemeting CEH}
| 3.) 39 |twAP ‘dete tote oo Rie tid Lye
2, | 40 life FH Stuela det” om Sree
3.| 41 | tapy tne contents of 9 Pires
“ornate Pile to
6 | 42 [ibe Fa tnt md chee Pon.
S.] 4 LyoAP FH IP cone P07 Wy
6 | 4) | ot Mum/bes,
| 41 4¢ |
| ¢.1 SY |iohp stauctuae (yard -——_+——]
4 | so | Octuiatncer of u Chur.
[to | 5¢ [Gump nerac 2 file te Be
ars ee
ae |
Scanned with CamScannerEEE ater rence
User Defned Function
To. add two imtegea,_num e_using user, defined —
Famction with no 2etuen _Volue tmnd_ne
2 gumant
H
r
# indude
| Void add ©
v
int wbic;
pelnt PC" enter ch”):
tind fC Eten ba Ds
Stomf Cxd" & b);
Ceoths
paid f C’ Summertiom =%d", C9;
Scanned with CamScannerPage 2),
be
——C
Ho find Simple interest _using
Retuen_ Value but hang gumento
tHincludee stdio.h)
| # inclucle 2 Comio,h)
Void imple interest C-Aoot 0 ort 4 Alert n
y
Aoct Si
ieCpt2 tw 3/30;
t
paint fc Simple Imetesest= 2 0.2"
Void racin Cy
L
Poot main cy
Porert birimy
clesre C5
pain h intern... 5
ScomP C7 P"
riod f CY Enotben 20"):
Stora Cy ay &t);
Cronaf C rs xn)
Simple alent Cpa.any
gelch Oj
Scanned with CamScanner
_——Wh
To find carer of Clacle using
DDE Lith
but_no_cegument:
zetuem Value
H include 2 obdio.h
| include x comio. hy)
Foot creo)
U
Sloot toa pis
ptintfc’ Emly zodiue
Comfer ue" 22).
pi 2 314
zc float ) pi 4,49.
2ehon ay;
J
idl raclin
t
flout os
cl2sc2 0.
Os C2004
peini fc” Aten is 20.20", 1).
Scanned with CamScanner|
‘a
\
SN
SY
mbhe ™
|
KS
To find rauximum of ‘he agian
} Using _UDE_usi-th _ reba Value — und —u2suments cmd _c2siments
L# imclude 2stdio.h>
PPHincluce ¢Cmmio,
int mon Cint cr, int bd
nN
iF Cord |
gehinm cy |
else |
chun by
I
Void main C)
int trib.
ches 0);
printf" got oo), SSCS
SteroPC" wd" Bad;
point fe" Enter bi"),
Sternf c* md" 2by, |
n= macy Coby; _ |
|
pernt fC" Mavinnum
4 ———————___
4 igs |
Selch cr, “ : —|
|
nis oe
Scanned with CamScannerOO, | \
=
~~ Pee 24 P2042 sen _
~~ 6 [To find facteria of a given umber. using Ube
| loith_ecuasten
__
Himclude ¢stelto. hy
et dl imclude% Comio.h)
I hot Pachosial Cinta)
t
if Cx 220
tehiom 4.
else
teh _m* factorial Cn-7);
cid spain CD ;
imt nfs 5
chkscecy, ‘
_4 pumtlc" &etey mn We -
= Sturn PC’ vd" Pn:
_4 Peferctetial (ns
ae aint fC’ facial of wd isd") n, f; ~
—~—_| geleheas — — “
SA a = 2
— _ — “
mae a - _ 7
| - a
= ay eee A
| oe a _ -
A “
Scanned with CamScanneryr
p-t| Stuchres & Unions
ZS
74 | write ac pro ean to end emd_untih
~ | data _tike HE AE healuanadne pps cena
pticeusing Steuchure 3
_—|
ttinclude ¢stdio hy
# indaude Uganio hd
Steuel Vibe y
x
U
cher cute Pe,
chor +e [207;
isnt pages;
float pice:
Sy
Void sain 9
i
clesea. CD.
peat fC" Stee Author of the Book"),
fiushali 0:
Gets Clcutho?),
priotf C’ énten the tie of the Rook),
Fushall 0
gets CLAdled:
point C Ende he Tela aao.—of pages: “), __
Sea Wpagesd)—
| wolf A the _PRiCe of the Book");
6 TEN pilte,
NL
rn |
Scanned with CamScanner=
=e
Lo2ite Cpeint 4 : ——>
[print £C"\n Author of the Bool46 " Leth’).
pend iC rm Wie of the Book: As" Litt):
pani ( ano. of pager ud" | pages)
.y . y .
‘ 0 oo A
elch O;
4
Scanned with CamScannera
=
_2| Define Shucture Simnpre_Interest.which_Containing ==
~ | Ahaee member amount, 2wte of _interest_ond ano.
| of years Read the Value foun User ond_find the
| Sirnple_taotevest.
__|| 7 totiolizielion of shaudute members
Sleuck Culculete
{
i
imtoy;
bc: §20 404;
Void main 4
S
tnt odd. cub mulls
Aout div;
close Cs
odd = C.x+C.Y;
Sub: C%- Cys
ony): C.X* OY:
div 2 C-floot) G27 Cy;
wind fc’ Additions Ad" addd,
a ___ print Cn Subleuction: zd", Sub),
pant (Yn tmultiplicution itd" mld;
eB _ prio 4 Cnn Divison 2", div);
Scanned with CamScanner|P that read oll no, name aa
SHuuichire &
Subjects of a Studemt—using UL
the 2esuit for, Scrme Student —Uvi-bh Foe rauals >
trnd._petstontag¢ + ___>
# rochude 2S4ello.h>
H induce % Comio.h)
Chouck shudent
£
int Smo,
Chote. Som rod:
jn} md nn,
Ss
Void roriinn CY
§
iat +04 0,
Float pers
ct
pant C Zell the Student m93");
p
Ce "
b AOC Bee Stud ANome:"),
r
Pushall Os
[gets C5.fem} fy ee
_priol LC Elen Marke of es
beef Cd", Smads
Scanned with CamScannerpainifc fale, Mn Menkes of Sub 2. "9;
[_ Seon? C ud" & S$ m4: :
clot = Sn + Syn 24 Sm;
per stot /3.0;
M prio
Pint FC \n Sno s%d" § Sno);
paint fC" \n Snorme = %5", §. Sn);
pamifc yn marks of subte%d”, $1),
pind F Cn Maths of Sub 22 2d" Sam),
wot fe ln marke of Sub 32% A" $3),
paint t C\m Total =e" +04);
peina fc ‘Yn Prarendnge sv 2f" ner,
oon 5.
Scanned with CamScannerSubjects of oS
Suchine & point the 2esult En. ce. tue
tuith tote! mors emnd pe
#roclude
Saved student
i
in} Tay
cho? Sn [20);
jot rn F613
G-
Void smnain >
d
jmtijoi=zo: —
Poot pers
_
cle sea 094 _ 4
pein fC" fotea the Student oi"): 4
6 4 .
Aushull 0;
pod LC bole Stud Nene.) !
4ei5 (S.Snm;
| Reed the Murks of oak
ae (es dts.
[aa
Scanned with CamScannerPoge [f=
pamif C’ folie Moke of subtyzda:” 149)
StimfC" vd" &§ mia):
slot = tot 46. Fh:
perstol/eos
UV
/¢ print
Pm PO mSno = nd" § sna;
Print Colon Soon ¢ 2u$
8 Sam):
Fin Cizo este)
{
Print f Cn Morel
of Sub Tvedderzd" 144
xo fil):
Print fm Total = “%d",to4);
Print £ Vn Percontuge = 42 £'% pea;
Selth;
5
Scanned with CamScannerDate ——__
WAP Haut tend. 2a da
ubjects of a a ot ith
| & pant the 2 ent_toith total
[amnatl2s cmd _percenteyge
WU Paray of Slruclere —
af
Hmeinide
He include ¢ tonto. h>
Slauct student
£
int Sno;
Chun farm 12074
tnt md amt
¥ crenas
oid moin (9
L
pot ntots
Peat pers
clager C)s
pamif C folie the No. of students"):
“Stern fC shel" ;Bon);
fir Cis osid sit)
Student. moi")
the
Paar f Corker
6
Prioif C Eker Stud Nene:
_Flusheticay
ort
Scanned with CamScanner_—-
Panit Cc ember tel:
L
=
Prinit Center, Meaty of subd
| Scom? Cc" &eorig md;
of sub ee";
Stomf (' 4d", & §ri3 sma;
itt C’émder marks of Sub 32"):
Samf c'nd" , & $119 3),
dot? SCi2mi 4 sriameds riamm 4;
Peretot/3.o3
U Prinnt
Pamtf CO rmsmo sed" Sci. snes
Print C’\n Smee 2% 5", Sta Sov); _____——
DinthC\mmo2ks of sub 3 = “el”, Sridm >;
Paint fh CVnmoeks of sub 22 2d", gridmi)+
= %da", Sri m3);
Pints C\mmerlc of sub
Pani LOM Tots = na" tot):
Paintf Coin Perremtuge = 22" per):
getch (23
3
See
Scanned with CamScannerZo mo.
[WAP tha tend 7 mens of 3 >
Subjeots_of -n student _usingertone—OF Stdudure
toithbn_Stmotite pelt the tesult
_____lomd_areny Pe
for euch. etudent with tote) —rne2kts—Cnd.
Percentcge ;
crmd__Arzoy with in SHouchuye
2b B22ew of slaucture
Hindude gel. b)
tt include ¢csnio.h>
euch stud eat
t
int sos
Choe Som [207 ;
bod m1 Ara of sdeu
Ss psoas Drew within Stu
‘oid win
a
hot Ln tot £0.33
—
_—}
|
4
Poot pers
clesea (V4
Prrotf Cc’ Enter the No.of hud oat, ua)
Scorn? Co ud! bend;
Soo Ciz oss en 5 iy
i .
‘tol = 0;
Pinif im Gotta the Gluden) mae"
Scorn Covad" Be Sth) nos
Scanned with CamScanner\
SY
a Prima? C" gmter Siid None!
= Bushey Cy:
= gett (Stin Sogn): bo
= Loar an
By Aes es Levene)
ts PeimifC" Enter phe tens of Subrudie"dtyy,
ze Stemf nd" & ori mm Th):
e. tot Pto4 4 Sti mea;
Per s4o4) 30;
Ut Paint
Prroif CVn Sno ene" Stia. Sno):
Faint f CY \nSmome = 48", $Ti2 Sam):
Fro. Cj sori 3449
§
PamtfC"\ Meeks of subtuds =vd" j49 sia mriz)
4
Paroif Com “Toda = 2d" 4049,
Paint fC’ Pratontnge = % af" pee);
Seleh 075 =
og
Scanned with CamScanner-|LLoeite ot [poaguun de tnid Shutoakhnfetanation
H
like tou Number... ssmne madsen oF 2
Subjects using Steuchuve. Pas: ctu us on
cegument jo__user defind —Fumebiern —emdl_ paint |
Pre deter \m_UDE |
__ || # Adi
# include ¢ Comio.h)
Void disp Chen shady
Steve Stud
cm
int Sno:
Chu el ee |
int m2 m2 ,m3,
ss |
gid yonin 0) |
{ \
idvavaaext |
Panther ="); 1
Stuf O46" B5.5na ss
= Pani fc" Coker Smuts"). a
7 Aushuli 0 I
(geste
stunt 4 Sub a3
_ Stunf Ord", Fe muds of
Perot fC Enlea_y -
—_|__Scumi§ cud", beg kim eH
mimes.
Scanned with CamScanner_
£ C’ Gat muon
Com? CY 2d" & sms
Scanned with CamScannerPointers |
es
—_——_—_— — nd _ddject en,
Ta. [icae te topo emd_pelot tne volute ommeeudetear gh)
Tem integers verdable using — pol.et————__
Tee eee
| # imcludes Stelio. b> '
# imcluee¢ Comia.h>
void main C)
{
ink as
int * Py
Cleser 09;
Print PO" Enter omy Integer Number? "9;
Stroh Cnet", ends
R= kn;
Peicod Oni volsing Pointer, Voriahle
dinif(' Wn The Adder of 1 ety”
> neh :
Pein £C'\n\on The Velie of ay = oy oa
; Setch Cy: ;
Scanned with CamScannerPoge SF
Date
thine Pokaters,
SAE pe as aig lin ——
# include ¢cldto.h)
# include {Comin hy
Void smi Cy
Int anon, cerns;
int *py_,* pa,
Clasen (95
Palatle Enter Flast Numbers "Vs
SComPC' vd", Rnd;
Printhe Enter Secemnd Nembeet "D3
SCPC vd" kee):
Pas &n2
Pr= benz;
Gms =* Pp +” Pe;
PemtP Cini Tthe Answers zd". ons):
e. Geleh 0;
OG
eB.
A
a.
Scanned with CamScannera
| tumbs “cen —1
| cppemplate message. et
tFimclude 2 Stelio.h>
Void moi
int ni.nt,
int ? Po ,* Pa;
mst
#incluele (cmia. b> ——~
—|
=]
clase),
| Paint hc” Enter, fact Numbers" ls
ComP Cd". fea dt
Print fc" Enter Secomcl Numbers);
Com? C' vd" &n2);
Pr s&nis
Pr_= &m2,
if c* pp pa)
Primi fO ned 1s Uneer Them 7 d",*pa th, —
else.
Pantft nulls taaitet, Tham “ad? py API
Gelch Oy;
¥
——————_———
Pee
Scanned with CamScanner4] toAp_using. pointers 4a exchange the. Values Stoned In
_— Huse _Leturtions in omn.emnory.—
_———]] teioclude 2 Sddio.h> :
4 Lin cludes Conionh)
_——f Void main 0
Int anim cmp:
int * Pa 7 Pay
cla see (4, H
Printf C &ender First Number.)
Cumf C*wd" dry),
Print fc” Enter Second Numbers");
ScomfC* ud", S25
Piz &Pr,
Paz KPa:
tomp 2 *P1,
* Pa. pr.
*paetomps
Prin fC Nn vn fcr. Fxachemee ss "s
Pani fcr vont s 2d", *P993
- Paar LC n\n N22 7d" ,* P25
i
Scanned with CamScannerle batt de ft
arin cludes Cerniou
Joi mui C1 —
iy
int mo tem Zev 20;—
int *P;
clescz Os
Paint lc” Ember Any Nennbe2: "Is
comP C wd" Bont
P= Bos
Lphile €% P20
zem=:* Py 22s
aeyc tev 4 qo +tem,
+p-* Piro;
5
Path C’The Reverse Ninmber = vol" dev;
Gan Os
Scanned with CamScanner2E=O
L-Lsdite_o paogtem using pointes to tend crn crap
[ oP elements crcl pant ett 4 5 :
Loneoy L -
dtinclude 2 cdi h> ~
#imclude < Conia. hd
id Mein Cr
5 7
imt Lon, rioed;
Int * Ps
Closer,
Peimtfcr Enter Total Number of flements.");
Scorn? CY wd", &);
| ae |
fin Cio; i vans (44)
Paintfe” Enter oa Oud re", 195
Semmof C% xed", & ei i995
3 ——|_ P: kom:
m@-——_||_ “Pca:
Per Cleo: iden hte
£
_ —| Palmnaf C’\ma Cuda? wd" i,*P4,
# in cluole ¢ Cemiosh)
Void smuin 0
inti, 10013
int * DP;
Clesc2 00s
Paint C nice Jotul Number of flements.")-
ComfC* zl", Bnd 3
fe Cit 033 oan i>
Print PC" Enter, oEvd 3 oti):
Sorel Oud", Rariyys
2 Kurnay.
feulisn.aslseos) -)
pT Peni Ordeal
es eed" ir py)
4 >
t Geleh Oo oe
eo - : ear eee ennaSEe MNNESEIEE Sad
Scanned with CamScannereae 5
ate: =
chy af_m» elements cmd pent cil the _____
of all elements.
Himdude< stolio,h?
4 include? Conio-bd 4
ait ranin (9
Intion Creo). Sum = os
jt * Bi
claser 0);
Part C.émder Tou! Number, of Elements: ")-
comb era" &n; .
for Cleo its itt)
L
Print? Center oPydas" is
Seomecs vd", Geo C9);
P: &aros Peas
Br Cito sit, itt)
ir
PeinthC\mateda2 vd", i *p),
Sun 2 Sur +*P
Pits
a
PrinifC\ln The Sum = nol” Sums
Weis S oN Se Nesta
Jerch 5.
ee
Scanned with CamScanner~
Lodhte_o peegeum —usingpolontet sto tend tay >
| of in_elements cmd patel “the _el ements: ff
crete. lso_-fnd- emd_paint Sum of_edla_omd >
&¢en__elements_of_ovuy 1 :
H# include 2stdio.b>
# include? comlo.h>
Void -motm 0)
\ L
int in. fined.eso,o020,erm:9 , acum 20;
imt*p,
clase 0;
Paina PCr Soler Total Number of Elements: "),
ScomPcs.d", en;
for Cito: tenn; itt)
——
i £
PriotPCmetyedre nd 1p}
ifcrpy%2=c0d
é
eSuras esum + 7p
ets
else.
f
OSU = OSum +*p.
ott;
pr,
5
Scanned with CamScanneron 7
TECManin Tote! Nu
5 ‘ Total Su v \ Send" &
MOLP Canin The Sum of oda floments vd", osumt),
Scanned with CamScannerFonaions_using _poimters
~ eidditton cmd Sublauck'on— of Hamm
| roclude ¢stdio,h>
ened fick =n
y
4 inn chucle € Gio. bh)
Void cub Cint * ind *:
oil sub Cimt *, int *): —
Void mauin (9 a —
i
|__ind ino im2,
&. ecy;
pPeiet Center Bast tunn bees yy
Stora cud" Sen 33s
| Pejant f UBC dndey Seemend Mumnbeas”
Strof Co vid" Bem2);
ddd C&n._, kon);
Selch
| Sub C&en 2, ken),
3
d_Cint* paint * poy)
Void lel
f
Printf£C"\n The Addition of ind Cend thal = nd"? Pa bh
pid *Py
‘oid
{
ub Cint * Plain py
Petar l C’\nThe
*p
u ‘ 7
tn ae
Scanned with CamScannerPage.
—
7 Write a usedefined imation _using_polndeis tn
ae Staci Values of two Mertiables.
Ht include
—_
_ Himclude tCmiah)>
ae Void Swap Cin * int *);
aaa Void main (9.
a into:
C1282 Cs
Painif Enter the value of ate");
ScovroPhC nel Kad;
PaimtPO gmher the Value of b: =");
comm? vd’ Seb;
Snap CBar Bab);
Print f Cm the Value of ais =nd "od:
Print Cin The Value of bis = %d 433
Aetch (9
x
4 Void Sinan Cit *P2, int * pr),
SM ANenp =
av
Scanned with CamScannerPage OE
Tel wate o user defimest PumcHom—using poiaterr ty ~
| Bind_siom ple ia e°0e St
Himclude,
oid siting *, Aout® tot™):
Void muincy
isnt ms
Prout 2
cl4sc1.0);
Primi $C" Enter the value of Pas D5
Scarf nd", &ps
Primi fC’ Ember the Vole of Rt =")
StrmP vn” 29,
Print£o" Enter the Value of Nr”):
Conf (nd Bony;
iC kop, &e , Sn);
y cFeteh Crs.
Voicl si Cin} *
c onserip Fs 4 OM,
f Peflout Minty
|B
"ne
Print Cm gts, ape Ogi
Scanned with CamScanner-4 | File Handling
— ae et, Meme
t e Reybourol Lotlte Hnece dute
faa ao Ble * Studa tat"
4 roclude eoHde.h)
Void merino 0)
£
Fir *
jt mas =
Chut. Sim pana, City rods,
Clase Cs
|_£: Ponen (CE FILE Stud ado wt"):
Priroi fer Eetee SNo ="),
Corn? CX ed" Kew;
Pam her &mler Snorme =");
Gusho C15
gers Comms
Prot hor gater chy =";
Aushur C95
Gets Ceity?s
f aint “yd , Sud);
PpanrfcP sans" Sn,
Ppaznt £CP“Yon'l-6" Citys
erwin CL Sud 78 4S", Smo Sorn_chys
Peloce CP:
FelchO; =
XS
Scanned with CamScannerLozite_
2agrerm Jo 2end dutta Peon 3
I Studachd" ond display —thern — on the Seren Y
% roche 2sidioshd oN
5
}Void mein
Fug 39,
Chor ch:
Chsca ty,
ped CF iW FILE \\ Shucl 2 tek" 93,
abi le CCeh = 2geteb CP) | = Fa)
iat Pe “0" ohy:
J
I lace Ay
Scanned with CamScannerAogxtueM, —to_copy_-the —Centemn
Uotite_e_ps tr ofa Ale
“ Studatxt"_Imto_omother Ale Stutdag
Hineludle gotdio,hd
Void snuin cy
iy
1
Fille * £4 +f) +
Chort_ Sim Rod, city p20;
isnt Sans
clascecrs
Fi efonen O'F : WELLE Stud att" 2")
2 2 2 Pore CEMELLE Wstud 2d" "yy:
Ferenc Pa sed" , Kosmos
Peownf CP YuS", Beoerens
Pecoro® CH wv, Kecity ys
joi CR Mad vs wo", Smo, oom , City)
Felose (P95
Felose Cf29
Scanned with CamScanner~
ati
Seemad Method sing putc0
Void snoiin C4
t
File *£) *223 —}
Chor chs
Clase C5
P 2 fopen (YF MFILE \Shud 2 tad" Nays
B- Papen CRS Ele shud 2atoet yy
\ohile C(ch=getecPiodtskoey
t
hutch Pa; H
Fotoce cPy3_
Fetoce P25
Setcheri
—4
Scanned with CamScannerPoge 4 ——
bate
[bite o pangesme jo toad rwsmne_of the Ble Asan
| user_cmnd__Cheok_tohether It }s__pilesent Oa mat fn
_# include ¢sidiash)
Yoid -enain CD
| disk. Crive cm cipproptiate messcge.
Chor Prome fi 035
Firp? £,
clese2 0);
pabt PC" dente’ Me Nore ss"):
Pushuli (95
gets CPromed;
P. Papen Cfrome 72"
VE Cf: NDLLY
Print? C’NoT PRESENT") +
else
Poin PC" presead "i
Rose Pri
Sede C1}
i
Scanned with CamScanneree
Himclude 2Stdio.h) ae
£
Chott Paerme [200.1 Ch}
FILE +f;
claser. C3;
Pant 0’ Enter Ble Nome 22")
Aushall 03
Sets CProme;
Pe open CPoowne "2" »;
ifefs: Nowy
Paint fC" Not PRESENT");
else
PumtfC"\n File Exist"):
Pamiferm Pile content"):
Patel Cnn");
Scanned with CamScannerwhile Cech: Fete CPD) = FOF
Pai fern chy;
Fose cB
Seth C7;
t oO
Scanned with CamScannerPage.
Date
ustite o peageurn to Count
; At.
Charucter Peo the given. i
Void noin C9 _
£
Chor frome 003 ; chs
Imt ero,
Fite *f;
cleserzOs
Paint O Enter Bile Nore: 2")
Auchan C5
Sets C&narme);
Ps oem CP nome 2");
jf OP == Now)
Pepotf ("Not PRESENT.
else
| ft
——PrinthCm file Frisay,
Peri ferin Mie Content: n:
Punt ces Ain’) 5
Printh Cue", chs
Saas
Scanned with CamScanner\\\ \\
Part? Cn Tota! No of churrobker: snd” 0):
Faoce chs
Grice C52
Scanned with CamScanner“Bnd “otal “mum bee of >
h 4
es letter, blank spate
om. Spedal _Guuenctea fromm — the aiven ale
ia ——.
——
#tincinde 2. dlo.b> —— =
oicl oii
chor Prone [100,Chs
int.czo, S20, d20,b20,Sp=03
Fup *£.
chsce Cy
Poimt her Emter File Nom sem)
Busha C4
Sets CPnorme;
Pefapen CPaonme 93°95
jf: Chess NDLLY
Paint f CIN OT PRESENT")?
else
{
Print fh Com File exist):
Primtf Cv File Gmtenta.” anes
df Gann 28) - : 77
Scanned with CamScannerScanned with CamScannerScanned with CamScannerScanned with CamScannerSe = =
[otte o pengenan to at noha et crad_o fy
| ame. to Count — cmd paint Tua oc.
; | oceuvtencet of a given Chotack tnto C4
# include 2 stein. yy
ACEO Perm ios AS eee ye oa
oicl moi ty) —
pote FILE # Ps
Chon Promae £100) ; th. Sch:
||__ int €=0;
Chase (9; :
Prinif C'gntea The Pile Nemes "Ds
Sets Chromed;
| fe open CPnorme 99":
i
iP P= Woy
PorotP CORE Not PRE ENT");
ae Tin.
= Pant C" PF HER THE CHARACTER :")s
ft SCornf Cale : a
—— Pai O06" hay
—— iP Cth: scpy ee
— Cth r
Scanned with CamScannerScanned with CamScannerLoaite_c_prngum to merge too Rec into o.
Single Bie. Le Append Canina co ae
at the tnd of cmotner fy —-
# include 2cidto.h>
Void soir cy ss
Fie * £4 Ses
Chun ch;
chee O;
Py efopen cv P: weve Wied det wD,
Pritt C* éoter the Dorter to FILET vines”)
Ch = Aetchor C3
lohile Coch} = -724
{
Pute cch £49;
Ch =QetchazCr}
t
Pelove CP4);
& =fonen Cre AEE \dect Qe yy
Prind® Cowbnter the Doe te Bes Vay
Ch = Getcha? C1; —
ile coh 2-99
{eee
Pulte ch. R95
———
Scanned with CamScannerScanned with CamScanner