C (1st) Dec11
C (1st) Dec11
ity
2) Attempt any Four questions from Section - B.
Section - A
rs
Q1) (10 × 2 = 20)
a) What are data type qualifiers?
ve
b) What is the difference between structure and union?
c) What is the difference between call by value and call by reference?
ni
d) What are preprocessor statements?
e) Can modulus operator be applied to float variables?
f)
g) lU
What is the importance of main () in C language?
What do you mean by structured programming approach?
ca
h) What is the use of size of operator?
i) Differentiate between array of pointers and pointer to an array.
j) What are escape sequences?
ni
Section - B
ch
(4 × 10 = 40)
Q2) What are different data types of available in C? Explain each one of them.
Q3) a) Differentiate between while and do – while loop with an example of
Te
each.
b) Write a program to add first n terms of the series:
1/1! + 2/2! + 3/3! +4/4! + …….+ n/n!
ab
Q4) Explain file handling. Write a program to create a file and display its
contents.
Q5) What is a storage class? Discuss in detail the differences between all
nj
J - 161 1