Paga No: Gaoup A ont [Define corn “ea ond ntorprelan 9 A Coropiler dravsiades code fem. Wi al pugreme a eer Cue q ‘ava goa rp + to ) mto mackre cade belne ‘ong Piogpaan VU + ger tt y Tl An mterprele? traurvlator ce urten ma Lig lore} papaces | Lanne Thte mache code Uva boy Tek Udlad & the difference belween eid anh Shieh moam(,) % ved mom (Jem DY mam () || Dees KF] Velen ane Q: Rela eeleaea fo value kod opnala ida tt Used _m Simple arc) gp. Mrdeatos He lauds of dle Herr free. Programs gia extatitn wher: Fd UDA DY \ [ust seppote dm ory Composite with rrobh § || com pi (or s “Ce pile? | ‘ Ides yeteun type ed 4. 2s veborn Tepe hy Te void - i]lee Qs ural rdontifier o / a ond itor Ode UL rqpae, vameg tal ore aw vod to __ variables, Arucds+ funclim aud 6h» witien + Te Tove ered to weirquelly Tauhify the ertiby usin thes "2 rw : 7 Qa wat are tHe feature of O- Programm QTM, featusos BP C-progiares { 2 Ore, 4: Srenple ane efMeionwt “a { 2 fet 31 function Riel Libra riod 4 | Dywante wearor 5 May aghast ——“AOL PPT EL PO 29 YI! 4x9) | Md-ox9 aco COT) purngmep|| - bt uel ie # Go t oeenb-o| var dud To oH | bw TREAT foqy bpedad per aH PapwoT wl vdre7 +E broised © Pacapep a sdpoy te] tt OS HVWMO| pro oroudda “pa 24 “OO IP BOIWMa| 2G PMOMF all “S VOI GPM PTO F ePoIOTD + A OPOoO™TO) Popo woqunn envy wo IP Pemve arom Aiwa wl has oy : Bo pe TT P TO OE rap eropo 1 para PUPP 47, "oS “Av aoS5 wpm WBE Ooo] avo? wWddN | ~PEL wabeq oe WpPocoyo OOM] PAY DES aapPrepl ™ YE Ee = baq pamky vie i PTY POP [a - ro FH YO 51 ADs YOM} Ive) AIO! aeAPAMUYY | ASpORKO~N ¢ PIM PME’ epsoen ou fep Of CoraweU foods aye NG Por wson ayoeds ero Ppewreh omaew copABOd Y Prmiopard oro sexgals iH PePE piacrhoy IL (= “ teyprepy pyro praoiltey oven Op prery nD a “dno—Tr Fade? poh ee el [ere tu Fey | Te [rs PTO Tutu BMWFo1wen aropaw /- GH aah a repre paar ~T0 prada oy eco je hy oa BPM Vi ag -7 9dag aE Fade, 71g dOR wr Of ye where Pro Gm PO T™ = ppy | by PY Gun PO TMM venom Peay reg + & day “MS PTO Geinw “UM MNO KON sepa, R @ dap ww OR “ owe Re; PHP? wI4F~™ GM} OF PRY OF aap DO} QO o—\_. =) er orboid va rq pero fo MIOXG raga may ems OF eoororbos Sem pPOAL PRUPOP PoR_ fas PH Vey + 3] 0700 "HOLME VPM pOTPIMI)} Pro capnabpo PUED ea, + 09 beg———__—~ Page No. ——____| Data: ~S9] What wae dearom omlrs| Malament 2 Write vege | do nd gnealest number aos Gots any different wt numbers. - Deawm wohol statements m C | @ sacha nested if aud if-else are used Jo. execle 4 ceslam noup ob slalements if the specified tondiliews ove met. QR the wndilime are abt med feo olse post f ‘|e thotement will wt bo executed BP. | » 3 Tere we 3 2m lupo cf doohivn cmlél statement: Tere Mrdlude’! 2 a} Neetod Hf tatowenti Bf-elce statarens Ee adores - [te mclude
Tat wom (_) mt A, Bie 5 : Pail ( Eder to numbars A, Band C:”) 5 Scaf (8% vd 4%" Gas OB GC) 5 ze Ane B EE tA>=c Pit [ “yo iste laagett number 7, AY 5 else re ( Bds=A 44 Bds= ey Pratt (Cyd Ts the leagest number") ®)5 atts else Pras h yo vs He lergost number 29 C) 4t (it wel TUF) st uf 3 (iFF Tus Tos) oF UTI Py TPS (atFt a>) as! ) 4 Ta ee a PIn La TMP Px ) POS TGs fous a sprog fp Cam UP y ) jee Tule Ly ww Toul pa fo) msq g C)ures BLOn LU > opr ow [MORE> PHP 2p am prep . wep “pons wad OPER Prufpp- aa pro PONE WFO Pr PO FLOP OM pu vo yous aod OPep mip th » y TOsy yoy to Sa ps0 parE aray Ww aoqey 7h] net cn Ss Tae Ce wpdyanw = fi r Cry7™so = Coffe < toe) EL—+ TQ Metpou CaF] roy TORT ee ] dred Caper TOR) Pres ‘opp ) POG (Ds aa9s 0 dy) ap Pay eh, pore Popup? To Www OO FL, aT (tn Pb | odey = 49 T djx 310d FL ot] Prep wre oo Qh pu OPK DF epee aa - Fy wou pyro OF Rap DyoP ONO POD POD Of PITT WO Sugpowde eet apap YPONBOR = CPU Pre CV Peay PT pry py Be FH We 17o pa wa wr Q/E POPP) Py re pawl prose ray i BAe DPOP FONTTW epvaL (Pr eapedd O/7E B Hy G 07E poremup vam Noh ap FoI ie gr O/T Rae UO | © =e on etegyyy 4 Mayor (DPOF y mH Ke dT | = CORP 5 OLY MH oy PPE aq \p —_serypound , CEI R, Pur SOME “er A yor = NOM D754 UA arboq DF i Mt Ror a oad ay Ua —_, C8 MH fag Af My OY PHENO a __- P op fpomupm P drone 0 Ss we LL er Oe TU PP AIO oy pT 19d 0F, ay Run Oyo <4), oF poabisse w a AF FO OV (opsp) Hewwd wpoowyo oP TD —s Cdr) wped Wy P ocoyoep [py vor © edeor My “ET os a we) WLI 7 >> Pl o Oe pu D1 OG? > OPM Pw FH STOP > PPE “POPIOO’ Fa WOIEPPOD MOE 0 ppm popodder ¢ apap wT Tey Pape P Ta ebes ost dam V myo {iF ahoaee - wean poo ms Puy oF TO ad & OfeGr ~ dan] awwict | dao) Tree ae) WIERD MUDD sah Tt ayer Ee a area [ ida ora w Kile 9. | Urnditron n checked fret thor alowed (s) ts execetod Page No.: Data: Do-whe b leax] one 1 Hereaffar Londit im fh Choeke I [sia ig exeaded: al is exdeulad 200 tees + if amdition 1s fuse - 2 2t might ocr dled leaat onee te xtalawert(s) is exeeutad 3. louie loop is anti emholiad Loop ? do-while loop is exit colle loop | wonna’( edit ) do Satadewent(s) 5 Y : slatement(s) 5 Y T while ( tmdittony it 8: | wie lop ie q pre- 10s Do- vole 1s _a_Poat test loop - leop ———tTi Weo Twig = vonann Sp Foveny Five Ret Cer, PA= Qe fo war ay = a : Tu feos = 7 — wr -ems so ws COP Fi Pan] frms TU = PA een | ae 3 (Fite +P 0 Tappa) oF ray? PAu) pmo TC OTR po MOP vore Padi) pad «bao pup TUT OS MIST nw ow PU z Cue Pu ™ St OP? PPM FE comeenesousbicasen jccPage No Or MN] Wiad ove He benefits of uries amayss 7onpare ome dimensional onary wih two Timon Sh wal array. wovike a Gpeguoes to fund sromepore of a alte The. Lenebad f s2atg omarys are Usled below Vl Anays make tHe code more Opi mivacd and clean Bice ude can store multiple elements tm a le aay al once, 30 we do vd} Lave fo ula ov ratize, the wulliple Hues love - %. lAnays makes sol much easier. Elewents ean ba 2 a4 clemonts can ba haverced man aray vig a g0%ied by song a fous Urs sf exdo.- 4] @nsevtim 0 delotim of the eluents can be done mh complortty mW an array + I (wens p hy mt One, Divexrtonal Arta : | [Two dimensional Pras a] A cue, dwenrtonal ani ‘Howes ALA 490 dmanvirwal anveey wipes a seale a Pe On arta of vartouws arrays 6 i havin, a similar dala 4ype Ud 6 vastous U% 0 an a | [sf various gue dimanrimal ar - I+} 2 |] at Low uly ones dimensith lo] Zt Kar dstal af hoo dime nis | Pt represents enutiiple datq _|s| Pt deprerents mulfPle dod Themes th the form of a Uit Then om the form cha fable $a tt Cramer estas and MwDuo. carr canily Vecdive it fi te Pasavetars Ha} eoine rma pstled ". Unsized Th nuk dofre, au annals } od aus oo sized soa Sig teh nsoat Dm - st rivclude Cxdioh’S qt wam () mt aloo [109 Aravrpo ge {xe9 [209% 103 peat (_“Euter NowWs avd T Bluan 71) 5 4 yd 4d”, BAn, Rey; ae "\nEder nraltie elements t\w"') 5 fon (méinds ten, +41) fo (ntp=o <€; try) af “Enter lewent avid Yd ) 144 17)i peat | ete, 1 kb eTJig3\i . prt ( Ny Erte wrabix - (ny Cu } ton ea yey at tn 20) Tse yf pit Ao a0 iG tL yss =F pak f ( “n ”e . pt (S\n Trarspore. of tle madaty An) ) wet 20 wie part) fn Letps 0 Spes pap) | pimth (Wd " hawpote TCT ) 5 af _{ wee po=ye a ) purer) a u detusn © 5 7 On UdBe a Progion. to mput IZ maloix and pri Heer mo ae fom te elude <“x4dio h > ndmam () mM ats Jip fo (iz05 i<85 ttt) {or lgzee aye ai vot f ( euder elemen bs al vd 7d podilion fetal a scanf( “%d"’?, b ya c?3037) - pyq fin_(izo 5 f<3 t44) 4 |_ fo (peo 7<3 4444) pie (xyd" walid ee): % [[netuan 05 yu what 6 rauch how ot dtfprod fin wi0n? geale ybvuchire kared urge warnare este ard credit hours af os nrerba + waite am uding ths ghucure to read dato cases ia the lourases with ‘coodik bod pails lay youthre ts ura cofrned dala lupe avotlabls mc that | atswe 4o tombe dada fens ef ‘differed krad maudure viton dt rs usllecim of data dam 4. game ag shuclare but hen dissimilar typos dhs on horage claws memory size i delermmned 2 meron tize daloomined [bey same menrorias allocted cwoclad 40m mambars larga member .i _.| b-_| mawiiple members can be virullaxeous 3+ ouly one _ass accessed q twe accomed at y a_ time |the thuct keyword is ured 41. unten keyewofd mh wed shiuch tovrse cad name [501 ae : mat crodit ee) ; -eit —ia va vous opp pf pp odhy fripaedep — apo oy # way foo eade ™} plord op avn 0 rege v9, ade qe peep wap or w_ poly oa se] pombo seay yo pmowre popp mf ni wry vapowdt> peer yy Ra Rares am |S Dw epee prey TH pry wea TR i Wash as aap ce PRMOD WDPHWdT payradg Pad Rrpayoaon voy Pus MP WW p29 p HH@PoCOyT Jo vaqunw Jaq 8 04g Mp (FDP -T ™H Turapas (yp my | 3 AepUON Ie ™y ay MPN whys Gy eprod 1, OAD ey bw & AN Thomo (jpmy eC wepyd ew fiscou d ee t py Mop D/P jrdve OF PIM Toda AFT DT wp ay Por UD Pe ay Pes oH | T (pres JPeU IS 7m I wep Pes, poe fruds © OMA Spe PHPC wa | —Gauped pap Fonreset: 4 Date: | ———_—_———_} hal tq pointer mo 2 Provide an example A ges pointer is a vartable thal sores tho memos ws of anotter vasiable ay Ws value A NOT vaaialote points 40 dota 4 like Wt) of dhe Same type) dud ated wih He * Operator’ Exawple !- mre = 84 4 “bem en (yg ae mydge) 4 How do yee deolone a umxjauwt m 0 2 Q wo defnc” a eomsfant m 0 const language uti Kesjuo o¥e Alyo Kuown a4 dw type ifiens the const Kapeonrel is Plaed af fe variable of fue laration to declare tot varable ar Conrfout - nox to defre emfant 4 cE eon da: type ran noune = voles 5Oks, _ Shel quuessitons = Urthe a C_Proavarn to tnd the facknial of a green nut bar vated Q fuuckon 7 7 Ht Melude tut mom () pried P( “Exlora number do {ud clonal " my ; pr me (“\nfaclorial ofa piven numbo Ks yd a fae Netuan 0 ; W fact () £ mt ft, fach 253 Scant [ “Kd 5 Zany fn _(_f24 5 i [Lind mam) | Tt vag = Dj Suite { var) Cone 4! PraP [enrea S walobed.”) 5 ‘break 5 core 2 | ; pint? ( t Care 2 makered | Oy break } default | iT OD cane 95 waked TS | beak 5 aetuan Oj: 2] Poe to —~ —_~ Dat: aa nmescg Q-3 How ie dynamic memory alLocabion dow m C2 Povide am example ; 2 namic. mMemoiy allocation refers fo the proces allocak 01 decllocat memory blocks duotg A _Mrogiom'!s Wuntrc-+ Vs acheed tuo the wat cf four furclmy '~ malloc) sp cabloc() » | neattoc() and free) + Tas functors ate localad m [ab amt) | | nd vumbers C= 29) 20/30 , 401 50 G 4 pont ( Amoy elements * "35 [fa (atiso I< 55 tat) ‘ pitt (7d) wombes TY 5 4 olf (Ws Neluan 0 5 4 output | Anay elernents ! 10, 20 Bo 4d §d 4Bxplam le, ‘ye oe fle \hemp! f unchrmn mm C wl an example.” C ghompV built-m lipriaay function thal oh ured for hing @rmpartion - This funtdron fakes fu0 Hg Canray’ ef eLarackers) os aa gumets “ umpare t wo Fas toxicaqnap Willy and flan Vetus 0,4 ot 2 Or fe dosutt Zt defred made headed {le wT ths prosiypa o Follow? . Sromnp (fiw wa 5 seed. th) 5 ¢ Pegans Jo damoumtiale Heure St Micn-pO fusdrm He Selects Seto qos CoS Ht Tuclude 2 dioh> 4 Tuctade Shvogs h> Tel war) 5 i. thar * Srf_ gtr = “Geeks 3 ate Chad * geod. f4r= ‘Geeks 2: . ; pratt “fina ng va\n", Mrtexh) 5 - pratt (' secma Bigg eed a | f pom (\* Return OH emp OF 2d) = fhomp ( first str, send Ar )) | i _ aetan 0 5 | f. ) QQR Q a ated = finvt etrng Cooks Seund die ! Geeks Relun valu of thunpl) ! 0 oa write a Ploqiow 4o mmput dadius and Cutorpern a cnet and Strplay A - 2 welabe papa h> thincade CAdehD [nt war ( th Tclude < unio WD & 7 th clude ex cept Fat os P44 mombo begrs al wine Poritimn .The uni Mores a esllactin of Foams Q dierte dota knds dle same ety agi deg to Aus Con meata a waton with nawedous meters , bub Dely owe, memo can bold q value al avy gets womut , The delat Horage Ya Vequred by the eens by dada momnbo Ys eqaal to the xforage Sace Ablotted for the vate vardabote. A Wnrion ts_defred the ust salaved 24 nA Wd q vend dada dyPe tod allows numerous membd valabtes of various dada ype Ko be Howd =) [Aue Saunre memeny N-egin :—____"s Pogatin: ag ate: [At cde A mcludo < strag sh > th || Sud parm Chor Wore [50] 5 [ floal salory 5 a Person a 5 Tw mow ty SAreps CTD ngewe, “Pam? )5 * Porton salary 2 Q5000 5 _ pit ( MNaqme ¢ Yg\n"? pewen): ona , | put ( “Salary : \.f "1 Pereon4. aaa yy) ‘ 1 Jetuan 05‘ulprnp coy Su ya Foe om FS Ht YO FN GOR ws eH her STOLE Enquos @vprrp HP IGT Gg Tom Scoop {srr@ aon] -9 Vad Ria waw Kren wh OPP ww PHO aH pp peaks oe My 20 ToPO}CVA MH [OW] -F HAUT oxo CTI cor joasl!)|) +g FP opp ba mes wea sab ap Free ka Cay LT PTRPU OME PPE TOO TOY MH IED Low w-neromon pease il > omtout ™} } Staiprmy ons bad PAL rw A AO PH PANE LEIA 7 Pwo) MH abrape faye pase wy More ay] Peropep oo Pony Ape Ya OM} ab MELE rea sorbudamy poaory PO path) 34 edant oy] .% weomay odes a 6 | Pay wayr*"ay PIG WIP HY evapo My, NO WMO Poropap PEPEP eo HoH PHO] -T HO Mepouren yoga|iy| 5 ae [7S] Heroes TAU C di “Dw Ippo os Pre (990) ern] wrertfpp my smUG| _§TY opaon reqgib” ao Gere boc 5 aqWaon foo) 200 K pro y 20H ‘ t & i {(aiei rae aere PX = 0,] shed MM Py = RPO PX =X) Ped ; ¢ Tach ston pu Oxro™ pwn i TuEd ObSb Pe () reaplge CUR? MU Fe OP RZ are =IPage No: ————_ Date: Qin | Grompare, ond combort malloc? ond Tree Lunchirms mC for dy nana momeny ALipcale™ - wabloo’ ) freee) Q- ||Allocados segle book of 4: TW do-cttlooafa +e. memes gpecifiec poets Anat whatever alicotad win qalwrs aagreroe 4 walloct), catlog 0) a veallng z ved aloe (viz terre ) 2. wid free (veiat ply) 2 | Refs ieFing ostivet f 3. Doesnd yehury ous alveled ‘4 on Wear Sucwful altoosttim - Claws reteons null a. Pt does ne] mbiatize dhe 4. Reduces the waxta oF allocated wensoly remany afer freorg th: Bo] At doe st mdintiae 1. jabiatdod-werrerg 5 [[plr = (dabaTyp oF), altar LszeByfo ) 8. Te fel) 3 rd wherever dynam ® memory atl CUT™ dakes Place + + EePage No: 6 Eqi- b Eq [pk (male wenn OW); wii dh reer void free (vad Fpl Q. |Lwite a C prograsn fal Seer dala from 4 rier ei 1 writes He somts to onthe fin 3 | eretade mat sum (nd) 5 Tut mam () mt number) rewylt osult 5 prof (“Enter a porline negor 17) 5 scarf [ “¥d 7) & Daumbo) 3 Vesutt E sum ( humbe ) 4 priut tf “sums “1 Vasalt Ne t notuan 05 % rf {nico) mean n + Summ ( =) L el ee : aetuan hs —4 output ! Butera por we Taboos 1g Sun =6