Partial preview of the text
Download important questions on c programming with proper answer and code and more Schemes and Mind Maps C programming in PDF only on Docsity!
aaa Sa RRAREEEEEaiiammmmmmmmmmmeemmmmmmemmsemmmememeessssseeseeeeeeeeeaes A Mesignment \ 2 _Eplain about _c -tokep. | Mee ning of c-Tokey In < progaa mina a fokep 15 the -2maliest (ndivrs44e) Upit op element ih a p20 gran? that carries meaning : It is the basje. ‘hu Mdibp block [ox construcling progres. The ae becaks dowy Zolirec ee Ble iftto _fekens durtrg the fexical —_ gnal/sS phase ot compilation 7 to interpret. and caeciite the prog zap) corre - Mi \ Types of c Tokens C bekens arc booadsy ChisS/fyed inte $/% Categortes = Ly words * pede fined ~eSercd Words with specific meahi9s | and plc pose : + Cocmmples int, fat , ctu, if, ele, fer, “hile | $ witth. keywords Cannot be wed as identities z: Ldentitited * Nome ayitn +0 Variables func s., aeorerts or ether uste- defined entttr EN_ programming a lata type abrd-thele detihes (714 May here varia djons ih 25 integers Ftoating =poiNt nunrbees, Charat ter data ype f¢ their Sizck , but herve 75 2 generd) olce view) pk @mnen ute ype ¢ their ¢ ical Sfres jb language like C/eee 7 A:T tegen tY pe. sel for Steriy whole hum bers pau ree | Size (in by te) Rah ge Chin er a Az to 127 £igned) or . 2 te2SS (unsigned Wi 2 -32,76§ te 32,767 4 Gihgned Jor 0 42 65,535 bsitgad) ine Py |-2144 7423 BE be to VINTH ES tye (Sighed ) © PU2949 67295 (4n 4tghed ) Jong -|Hor % a Varies bese 4 ov (Platform —depudent ng g t SYStCM orchjtectene | -3223372 o3bfou77 ¢d Shook te 4223372 ©d6 £54775, Jo7 ae |S Ve. id_ Type ee ee as | ee ~ { * Re pre. sents te, Wiae_« ea he. 12 cathe eed ese for functors that- de net 2edurn a value | eid J. a Factors th Fluehcibg Sizes ot ° : Bic di) dae SYS 75 B2-bif oe 6A-b/t | * Sppilee-: vif ferent _compllexs may ica memo2 differen ty. ee ae Jike BYthew er Java abbpact S/zes but Sy)! ase undert¥ihg duke +y¥pes eo Q2B badiaih—fatibinctie \epesatersln Curie agtieble Se | ecapnnples % >In ,C antthmelc opeat2S He are Used fo Perform bt4IC hathemattal ofesations oh humenctal date. These eferators can be applied to_Yanubits , anstant, or expressions. Her’s an. la ‘ ‘th ne ¢1 2 Coaynples = _ —~ Operators | VescnitHon | Bream ele. — Se YP WPI —t—_ | =| Sub pEch on. — sa) ee neeen Nene |_ Malt pli catlera me *b : rag _ pWislon ee uz Modulus (2¢mathd ex) a %b — : | FF tngiade c4ult CPad too DESC phHtop Eveatyple = _ Assign dhe Yalues |p fo A=lo ae Add Sta _ € SIGNS the rou, oO 425 2s Sbbaits 2 frma gees *= Mall pres abyH aay Zz jdes apy 5. al=5 42 Assigns dhe xemalnder of 4/2 | arr tr >» ae, ot 219-2 nitt ¢ askin AD? | _ a< perform a lett tnift assrap | ace! ¢= _ fetorrm bipwise Aun & ASI gn5 ~~ Vd ja A Choos bj twi3e xoR 4 2g5iGp5 afJ=b Expression Brtwrse E x pre35/ 07 Ca €b) Jc combinaHoy? bitwise Ano & oR ppeahov | tower oe ee | | Precedence hap. because the téehare Cbd! order eblaly tons: rede of erm ons specifies the ___. a a a SPOTS TE | re evallated . thre 1 dre Hnet from precedence _ p2ece depce deterpiiheS het efe2dte?3 are _¢ rolup Evalation opdes- de bean hes te sequence th whith the Pn lef an expression arc complltd ph mest _languges | cond (Hondl -niyprss/oyr vatues evaluate ¢r<. condiHon ftrst. 4 - TF d ie ey ie f fe) | S evaluked 2- If the conditton €lalute te fale oly the. Cond caprtssjor,_( Expo 2) 135 €balleted Explain about dee Cohvestion oo ttre gesting 4 Type Conv@dlon or type Cabling 1% the Pro legs ot aohitrtig a value of one dale 2¥pe. In bo noth - T+ "0 a Gmmecn ecfperdbs bh fre : f= €nsuxt Cr7patibilijr petecer ditteent tyes ~h expesson assighments Satery | ptways sake Coun seule (no date. 045) | Precy hon Exanyles< tht toa load» ne Spt Me %eclal- sintan Copa le lor Kenthtond