B.Sc(IT) C Language Previous Year Question Paper
B.Sc. (IT) First
semester examination-2014
Programming in “C”
Paper ID:-200001
Time:-Three Hours]
[Max. Marks: 70
Note: Attempt any five questions. All carry equal marks.
1.
(i)
Explain the following concepts:
(a)
Pointer
assignment
(b)
Pointer
arithmetic
(c)
Pointer
comparison
(ii) Explain the concepts of array of pointer with
example.
2.
Explain in detail various file handling function
available in C by giving
examples.
3.
List and explain at least six preprocessor
directives along with examples.
4.
(a) Explain the concepts of macros in detail by
giving examples.
(b) Define command line arguments. How do we use
the in `C’ language?
explain
with examples?
5.
What is an array? How it can be represented in
memory?
what are its
various types?
6. What are
the different data types used in C? Give example.
7. Write
a program to print Fibonacci series upto 100.