CS3251- Programming in C
YEAR/SEM: I /II Time: 2 Hrs.
Max. Marks:60
PART A (9 X 2 =18Marks)
1. List out the features of Arrays? (NOV/DEC 2023)
2. How to initialize a string? Give an example. (Nov/Dec 14)
3. What is sorting and types ? (May 15, Jan 16)
4. What are the various parts of functions? (May 14,15, 19)
5. What is recursion?
6. What is a Pointer? How a variable is declared to the pointer? (2022-23)
7. What is function call? (MAY/JUNE 2013)
8. Differentiate between call by value and call reference. (Jan 14)
9. Whatis the difference between an array andpointer? (May-22)
PART B (2*13=26)
10.(a) Explain about the String and types in detail (Dec-22) (13) OR
(b) .Illustrate with an example of command line arguments?.(NOV/DEC 2012) (13)
11 .a ).What are the different types of functions? Explain in detail with example? (Nov/Dec 2015)
(13) OR
b). Explain in detail about Pass by Value and Pass by reference? (May/June2017)(13)
PART C (1*16=16 marks)
12. (a) Explain the need for array variables. Describe the following with respect to types of arrays.
Write a C program to one dimensional array and two dimensional array . (May 15,18) (16) OR
b). What is Pointer? How to pass pointer as an argument in function? (Jan 14,16, Dec 14, , May 15, 18, 19)
(MAY/JUNE 2013)