Professional Documents
Culture Documents
Cse Assignment Ca3
Cse Assignment Ca3
Cse Assignment Ca3
Nane-uouu Kumo
RLasbiation Numbi: -12 1046y4
and Qtail rd
Hatalaak at hu 4allauunq pucs el Ladt
wrplaim the Qutput
1)
Explamouisn e {ist pusgam
#incluelt <Stiin.h>
t o t olmauin funetisn
m t maun
b / Na t Valuulcof a 20
U %d) a); // t uill uint th Veliut of oa that 2 o
un O
d o main reuor
utput: 20
Explanalon o/ th Sicoed 4oaAm
htoslx piu
cludt < Stdka-h>
auable ap foRomao
/ r e a nthat toki4 pounte
b a dopt it
R
tnation NumbiH- 12104644
A
Name Bnultn Kuma Ral Num6H RK) IBE B82
l w n 0;
ulput-
Nom-PHauttn Kuman Roll Numbn; - RK218EB82
>Suto
peraytyAY)*rolloe lbyla-si); = ualloc (pte,wi);
T+ When Yau wamt
4d
alocod!obucts hat u t i da e i yaw mmauy
Exomplu Examl:
Uludl KStdig.h # Acludi <Stdio.h>
T# Urtludls stdlib-A> J t maunll
Jnt mainl) Cha * pt
= (Cha*) malloe (lo);
maloe (1s* Sigke (* ) ) Scby [hX, "psaglommirq )
y (pb! =Nul)
*stbt+5) =u80;
st= CCkon*) ualloc (s, 2
ir(Valu ofhA 6 n sbcat bbr, Tn ic'); o);
d , *(ptx +5)); punt ("yS) Adolu4p= %U\n",
ulwn0