Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

oELO6I-004

Lati Amrell Nag8ah.Bank.Ltd


Date:
Page:
daulonnmeut ESIOS

Hed lu At andled iu e _LLith a


CXLattLd &tox omaly it t jil-
olantttun u quiHh nocomaticolly
MMay
olato9euxatedpeoniaualy bud owcomputor
ivototid n o t poaiblu t o
n m tia qQuOHatOd data aga cud 1g0ULA

NHOU ev JanddxiuuO M- NOlatlMn


fle Laddliug iuC eAablu uto exent,uptale
RLnd and oleut ly utoxtd m oca l4uAo
hdLG C0GMam
OnoHaluAn iko

BicuLliug

4)
mQulug dota fo speclh Locotib n l
cLoun9 lecau be puoxnted C
Ue Pouuot lle A tusnne ullich uted
I0be e0tad joneyOUAg Halu
Syntax FILE * Pr
Phropen (eile Mametxt mocde

l e Greutug modos
C uread mode (eile MLLut be _exint)
w CpeuL O CALAt_ MeuO in wit medea
Amrell an.5ah.8anik

le in beth reaol avnd urita


w t eRon l e n both uead aud uiti Mod
at epta le in Jbeth uead and ukit mod
medi
wbBron bfnuJn n wit med

10 rbtejatu biuay u nHLad 2uUtmool,


abt erav uiaxy lb a Rad 2 uuilhmd
HERi Ample OH0atug he Ale i t i

indu de <stdio.h>
Void mainD
FILE dp
fp ftpele. txtl"
cha mame LLO|
S
MOr S[1o1 ch
ulle.(ch== (y2)

Nud (10
Scout 5.d
fuihLS S3e ocsIels_
else ynuoA Iy
mrull Nag.5ah.5.anko

Date
Page

Ch gctthe(3
Fclose fe

uwt ito a meuw ,

CenAidoxug 2 JiLo Kut alulady jn thi doldu mautl


leltx pie2.tat
9nclude Stdo.h>
include Ktalltlb.hy
Volal malnC
FLE P1AP2 Prl3
Lhan h Tnam d[00 namt 2 [20Lname 30J
Piagnnie itrt
P2 fopenfle 2.txt, "r

4 =NDLUIfP)==NDLL)
Perror eror msa
e xit fEXTPALLURE;

tneus fopen d t w
fdneuo== NULL)n b i
pevrcrearoymng a
Amrell NagSh6ankLa
Dato:
Page:

tuthe (Cch= fgetc(fe1.)J|E EUFJ


purtc(ch, pnauo
Ohie-(tchfqetc (tp2)EEUF)
fptC (ChsPntu
nt- lu mego Auet hly"
fctosete1)
fclole (P2)
fdoue HPro

Hn AXORA O hduollut?n C biu


ehtno perrokSttehrtr EXIL FALLURE
PIT SDCLESS L Lode enample.
dA duLclhCuuDgtonmiug clounpuONtde
dlinid dynpoktdoHxn hludlluig but hiua

utANOlO
MOt CunctihvA col-d OHAluU in cwm

Hturn ualuo ertbr coU luin9 Juunlbo


Amrll Nag.5ah.BankLtC
Dato

Page

VOiouuLHOH Ooly axe olinud iy <ern@ni h2_


heade

D augua.ge uDatolapezrerl )E StreurC


unctien he uAed t0_duplay,
ohtch CQn
mII_aMDCiLteduh erm.

Perrori AuattzPmolieplo dalalIkung yovAOnARO

HueLctituan ACUNLt erkho alu

Stterrer :fundtibn Lolhich xoturuu A4Dutep


iMial OLYnNLtatun Rut gno YaluL

wiLould uAD tdenLUe VeOm to 0utpu all


th orroS
EX ncudo<Stedto.h~
Hihdude Keno.h>
vofd maml)

FILE fP
p-topenl "abcatxt"
itfp=NULL
piott (tlerk,volue ertor/ exrno)
Perron Ce ren hy pertor
pintt stelerr eerer by aterrOP: S
steror lernno)
ese
Amrel Nag53h 8ankL
Date:
Page:

Hcloelfe)3 h

D0uputt
etnon 2
eror by PerioY ND Suh fM

Progtam eit dOty h

t0 xA. ulih valuy a

S goad ukactio
out alu
EXLT-SDtEESS in aJe pu0gAamconilug
EXIT SULESS a mackO Lelyeutd AD

ou Ahould exit AUh EXLT FALLuhlu


cdliuda
ncdide &Stelio.h
vold main
nt diuicliud 0
nt diuhDH=5Quotieui
Paulu0H==0)

Jpiint(StderExistug
eaH (EXIT-FAILURE

ipuudtelet, quodfeut-%d,diuuyal
exiFXIT-svESS
yols gI ATM $@s2l-ils is 21e1g2 qilE Pl Mel zQ
Amrell Nag.Sah.Bank.Lto
Date
Page

uhtd olilpauc hotuutu dustu aud uuLOY


UUit 0 puD QAAm to oliatancy Jert aue mcho
Uwgdtudiuu
bucturo niey

Kuword uuuibyua d
olelius uibn
tach mzMben iadLgmd
untouy aTOkag0 bolodto ghaneol botueo a
MLmbey uen
ofuniuieualnember. ohaugugJalu auy
Mnbein uill cuiuuge

SuAOROMOMbOU LOM he
ultioliudat onc he2Ltialized ct ouc
dlhtu o vaiable i
ALDOateduith a stUUane Oysaciotd uuitha uull
Compilor gllDCatn th CObyile alloay Heu
MLMOy by cnideuuug
mimbe
/Proguno
oludlestelio. h
S t t cstouce
umrall ag5mBank

nJeet
t
loot ndlu
di,d2 ROLUE
Volcl wmaiu)
riut euter 1st dutone )
Slauf (pd,dipet )
SCaf, &d2.înclh)3

Scanf (hd &dz.t


SCand od", gdzicu)
reSuwdpuu-dipudt d2 kd
HOAUL inth ol1 inclh-edo inch
Duy (koLUA Anch 12.0
Jta
InCh=12 0
reAulkat#t
Amrell Nag.5ah.Bank.Ltd
oato
Pago

ncludl<Stdio. h>
StAuct peksol
nt age
Hoak ultgtd-

PLPhr
p vold man)

Pt Pa
pint"Age")_
Staui(f',&Cc*ptE),age)
prindtt(wtput)
Scanf (F", 2(C*pte),wefptd))
pintpevs Age id.iulghd ih24
(kptH).0ge,(HPtr).efgted)3

You might also like