BSC Part 1 Cs Programming in C Language Ed 2656 2021
BSC Part 1 Cs Programming in C Language Ed 2656 2021
No. of Printed Pages : 2 Roll No…………… (c) Explain call by value and call by reference using
suitable example.
Unit–3
3. (a) What is an array ? Explain with example.
ED-2656 (b) Describe string manipulation functions.
(c) Differentiate between structure and union with
B.Sc. (Part-I) suitable example.
EXAMINATION, 2021 Unit–4
COMPUTER SCIENCE 4. (a) What is Pointer ? Explain void pointer with example.
Paper Second (b) Describe dynamic memory allocation functions.
(c) Write a ‘C’ Program using array of pointer.
(Programming in C Language)
Time : Three hours Maximum Marks : 50 Unit–5
Note : Attempt any two parts from each question. All 5. (a) How to perform read and write operations on file in
questions carry equal marks. ‘C' Programming ? Explain it.
Unit–1 (b) Explain file handling through command line
1. (a) What are data types in ‘C’ Language ? Explain it. argument.
(b) Explain the unformatted I/O Functions. (c) Explain the use of following :
(c) Explain Increment and decrement operators with (1) fprintf.
suitable example. (2) #end if.
Unit–2 (3) fputc.
2. (a) Differentiate between break and continue statement (4) # define.
with example. (5) ferror.
(b) Write a ‘C’ Program to print the number from 1 to 20
using do while loop.
100 [P.T.O.]