Professional Documents
Culture Documents
J-3547[S-1403] [2037]
B.Sc.(CST) (Semester - 1st)
PROGRAMMING IN C (B.Sc.(CST)-104)
Instruction to Candidates:
1) Section - A is compulsory.
2) Attempt any Nine questions from Section - B.
Section - A
Q1) (15 x 2 = 30)
a) How many relational and logical operator are available in C?
b) What do understand by the term data type?
c) Explain the break statement and what is the use of it?
d) Explain continue statement and go to statement?
e) Define the difference between nested if and switch structure?
f) Explain the concept of pass by reference?
g) Define the difference between static variable and automatic variable?
h) Explain the array initialization?
i) How the data elements of a structure are accessed?
j) Explain the anonymous union?
k) Write the syntax of a structure?
l) Explain the header file and why this is needed?
m) How we can read and write the string in C?
n) Explain the different I/O operations on file?
o) Write the syntax to declare a function?
P.T.O.
Section - B
(9 x 5 = 45)
Q2) What is the inline function explain with example?
Q10)Write a program which initialize a structure and then copy that to another?
Q12)Explain the different types of qualifiers used with basic data types?
ÑÑÑ
J-3547[S-1403] 2