18CTU01 _ Programming in C
18CTU01 _ Programming in C
SuBTECT NAME
PRDGRA MMING IN C
DATE t6 02- 2022
TtME 1:00 AM
12 30P M
No. F
PAGEs :
WRITTEN 7 222
SECTION B
6 b.KEY WORDS K
ywends cannet
Aecved wods u
udurtigens Sie
std Lo
AnCeinal -efeaduon
dtull
Chon
f. a Stan f )
P1untt C)
pAunt f 0
fwnetien s uscd to f u a t Zh
fuuat
Rtelin Ang o , el
SUNTAY
pAuhtt "genmaut suna
aumen- t)
*Se ima Sbungs tan
/ d
unttqey )
t
1 Cfloct), ete
# unelude t stdue h
vetd m u n C)
Lt a
t Lncluds sldie h
veio un u t ans I , tte
unsqhed uu n
6
truntf od "
ars Ii]):
rt hMan O
UTe(LT
23 18
A stati
tatiie Waaaula usdudarrd usR4 stale
Reyw0ad t an cana
n l y c lan
Valus
qtelal rlalle
a p le
4Uneule stdue . h
Ln u n C)
Ceunt+ +
trnt an )
Ln a
paunt + "°), d , fun () ;
UTPUT
10.b
numaaa iem ( R m) As
dala
vdala dajned
tufurun C. SEAs aunly MLld to
to
ntrgnal c0tustan , Eh
fegcm a s ead
ad Leun laun
-ALlA oliom
amp
t eneluds AMdieh
entum werk
3unday, Merdaut Jucs dat
Wrdnesddy JAuuns day, Jntday,
,
nt maun )
Ctuumn
week Leclay ,
Coday Wedres day ,
paut#( ay h d"
etunn o
today+ D
,
LTPuT
nb lLeKARy uNCTIONS N C
warnt use R
uruelon ePr Auadrs fle funt i t)
Arueliided <stdio -h shoud
sheuld
ADYANTAGES F s tNG
BRA RY TUNCT1ON3
kBeARY uNeTONs!
JAty wek
Jh
uncior fumuued e
s+mare
8ANes
CeTLsLleialole dewelrfumRni
e
urcllens aIl fentalR
c
RO
12 a- Qnak Salement:
Sr neak sttemen
M&Rd s Umes r alw
wuth
wUCh i eee aluas
aaiment dnsids
sloÜemen he
Loep ursidr th
neluude 1 sdie . h S
urnt maun C)
deull wus
5um 0.0
p1unt f(Sumc o. 2
,5 wm)s
Aeluan 0
TPUT
h
n 45
Enlea n 3 3 .
Enlii n 3
Bum 0 . 30
bn uu Sla meni
&NNTAx
Cotunue
always sed An
5 else slalemen
(13
1aple
#tncluAt takduo h
rt main C)
Cnt
de
Contuns
uTeUT
valu a:10
Valu a
vatlu 6f a
a 13
Velu
Vulue
valus e a
valuw a
Valuw o a 17
13 a
uNETION
leck
code that
fao afuafu task t all tws you
defun ncOnsacendng Lo
Med Jhes
ureuons knevwn
4s.A- elepned funaluons,
uNCTION RO TO TY PE
funeaon
declaalien a
fnetePA smply th
uneuens
afundiuon rat
sfecugwe
NAMR,fLaLameeas
Ceesn Aona neliomahd retuan
elua
Rekvn yp
euo rame
(yp e 1
+ ha o h
unetion s
addN umlreis to
*actun yp Ch
we
funeluon u Ln
axqumers o yp atc
pass eel
Cha unehom
JRe uncon
fuetotyP ast ided
Teefied urelon Ai daned
hefe Tmain C) 4uutnen
anp.l
fwnciuen fietetype
t enclud <stdus R
Lrf Num - addaion
(tnt i, uutj9
Cr main C)
SLrng san a t t
ehandulcas
SuLqdeclaatror 2
eha Stt= 'A', '6,'c
STRING UNETLON
sthln t)
ds th
Lerta Eh aef a
shu
Synta
ramp le
unelude telio . R
unelude huq h
matn )
8yNTA
thasstitat ( charstI, Char sth 2 9
1ampe
t unelude atang -h
main C)
TPuT
utpul a CeTLlalaraoon
le-N
l l oN aeld J
acpy
SNNTAX
ha ehas
siepy s ha s 9
S Lep Ls he
sug s2 eae
Cneluden eh end laung s 1
ehanselen
stac
eha sti eRa CCRd s , Ut e
t Seaher
dei hanaele
h.JRe Erung Mherh MMR
Chaada efule AUSLq Stteh
ERen LE
urletaLly qet cenvented
nls
fo etteA sa hg ehtcqrs
S
ehaa
ilehai sG, eRassch am
5 Umulas o
xeep Khat
seanches sauq h - Eerm us ad
SUge has
Is a
BINARYJILE &
3 unay fles A
Ney sUnullas o
the thal anoays
asaays
Anaays
tep eLaAy SoLage in he
memeay Bur
unary flesare
enmmatuent sloraqr n
dusks
S/0
efaialuens aAl
uch fdte wtth
ournary data
B
Uany es C uch
uuch smallea
sMallea h
S ene olalu
olald annet l t
Chandlin femal CenveAlEs oEo
Cenveults
he
h e
oasikfLaa utas Rat
ERat ead and
u l uneons e -and
uary us arc
adlnes ERe
uulen 0A Alad
SA neumei y t to lad fes Block
S
C