CP MAY JUNE 2023.
CP MAY JUNE 2023.
Second Semester
20CS211 – C Programming
(Regulations 2020)
10. Define File. Mention the different types of files accessing CO5 R
methods.
1
PART B –– (5 x 16 = 80 Marks)
11.(a) (i) Explain the different types of operators available (12) CO1 U
in C.
(ii) What are constants? Explain the various types of (4) CO1 R
constants in C.
(OR)
(b) (i) Describe the structure of C program with an (10) CO1 U
example.
(ii) Write a C program to print the Fibonacci series of (6) CO1 An
a given number.
12.(a) Explain the string and list the various string (16) CO2 U
example.
2
14.(a) Write a C program to store the employee (16) CO4 E
an example.
(ii) Explain the array of structures and pointers in (8) CO4 U
15.(a) (i) Illustrate and explain a C program to copy the (8) CO5 U
example.
(OR)
(b) Discuss the pre-processor Directives with an (16) CO5 C
example.
**********