0% found this document useful (0 votes)
21 views

Programming in C 3 Sem

Polytechnic chapter

Uploaded by

pantr4840
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
21 views

Programming in C 3 Sem

Polytechnic chapter

Uploaded by

pantr4840
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
main( ) Wels *C’ WATA BI WH savas Wa @1 Address ofa floating point variable is always a whole number. we veifet tare Waa or WA KM WH eo Way eet 2) The “C° language terminator is colon. © arr or efter wer eter 21 Function having return type void does not return any value. for wae a Red egy void ete @, a Hy acy Res wel Heat @) Pointer variable always contains address of a variable. dharex aetac Se yH Rae HT VsH wad FI In an array, all elements are of same type. we R 4, wh saga WM WOR o az) Break statement is used to exit from Switch Statement. ‘© Retr oI wat feta Ree W aex wert & fey ete z1 Header files in ‘C’ contains library functions. ‘© F dex wget THEA Hg B wah 2! In ‘C’ language strlen ( ) is used for calculating the length of a string <@ are Hi strlen ( ) @t WaT WH Rea H crag Fare & fay eat FI [Turt Care 4 ye fa 7a aR a Rael wea & fery sivas ferfera | Section - C (TT—%1) Note : Attempt any Five questions / fel dfa wedi at eet afore | recursion ? Give an example. fa war @ ? vm saree AAfsra | "Write short notes /Wfered fecreft ferftag : (Pointer /Wigrex (i) Global Variable /7eitact aezraet 26. Write aC’ program to check whether a given number is prime or not. ye fea ed aay wy oa eM ag eM aT aw wer @ ferg «co sor ferfera| 11. is a decision making statement in'C. um fret oF aren He tra 'C Hy A function which calls itself directly or indirectly again and again is known a8 the ssn. function. RRR Te aR aN HIT HME... BR eT Incall by reference method the address of actual arguments are used in the function call, _(T/F) Call by reference fat 4, aretfer arguments #Y Wa eA Bt Here wa wa Bre A ea eA E | (ars) In'C’ language index value of an array starts from 1. (r/r) ar CH array #1 $844 value 1 AYE eet F1 (aes) A pointer to integer accesses 2 bytes of memory. r/R) Wee Geet Sato 2 are MNT A AT (RRs) A structure is a collection of homogeneous data items. (rr) UF structure WAM Sela AYE a eh (Reyer) String are character data types. (/r) fara tae sre ae eet (aea/ataea) [ Turn Over Note : Attempt any Two questions. / fart a weit # sm cif) fra 'CA while Gi Do-while 57 # FTA | r @ program to print the number from 0 to 20 using for loop. 920 wm # oon fife eI & fore for loop Fam ace He aT | Write a program to check whether a given integer is even or odd. F547 integer # odd HW even Yen HAF ferw dH waa Section -C (HT - ®) 2x17.5= 20. Differentiate between ‘call by value’ and ‘call by reference’ in function. 21. 22. 23. 24. 25. “are ae eq! wel “are are feta’ A via aed a aan if Define the following terms with syntax : (i) Array (ii) Structure (iii) Union (iv) Pointer Fre Fi syntax Bfet AAMT? : (i) Array (ii) Structure (iii) Union (iv) Pointer What do you mean by strings ? Explain different function used for strings. féga 8 ay en aera & ? fen & fore win fa a are fat Gael ah aaa What is meant by opening and closing a data file ? How is this accomplished ? ser wee & stahin wa senha & are een waa € 2 ae FA yu fem oe 7 What are the software application related with the field of electronics ? Explain with exam: veaginas & aa Ff areata wether #1 sere afer SHETeA | Write short notes on the following : / fra % feari fafan ; () Compiler and interpreter(ii) User defined and library functions. Write a program to find the average of given number using array. fea ra tert a atta wre AS fore array HFA AH MTA VATA | Yen 12]

You might also like