CS3251-Programming Apr-May-2022
CS3251-Programming Apr-May-2022
com
Reg. No. : IE IN I G IG I T IR IE I tl· I C I 0 I
Second Semester
Engineering CS 3251-
PROGRAMMING IN C
(Regulations 2021)
Time :Three hours Maximum : 100 ma rks
Answer ALL questions.
11. (a) Draw the structure of a C program nd explain each part in detail.
Or
(b) Enumerate the difference between 'else-if ladder' and 'switch _ case'
statem ents with appropriate C programs .
Or
(ii) \Vrite a C program to compare two strings wit hout using the
function 'strcmp( )'. (8)
13. (a) What is modular Programming? How does the Language C support
mod ular programming? Explain in detail.
Or
(b) \Vhat is the necessity of pa rameter passing in C Programs? Wha t are
the two types of doing tha t? Explain any one in detail.
14. (a) (i) What is the purpose of the concept 'structure' m Language C?
Explain in detail with an example program. (8)
Or
(b) (i) Write short notes on 'Array of structures'. (8)
(ii) Write a comparative analysis on vanous storage classes of
language C. (8)
15. (a) What is file? What are facilities available in language C to handle files?
Explain .
Or
(b) E>.-. plain the various file accessing policies available in language C
with appropriate progra ms.
2
Downloaded from EnggTree.com 60025