PPS QB
PPS QB
2. (a) What are the features of pointers? Write a C program to print address of a variable
(b) Explain the declaration of pointers and pointer to pointer with examples. [6+4]
3. (a) With proper examples explain different arithmetic operations on pointers. [6+4]
(b) Write a C program to show that pointer of any data type occupies same space.
4. (a) Explain the concept of functions returning pointers with example. [5+5]
(b) Write a C program to read and print an array of elements using pointers.
5. (a) Explain the concept of array of pointers with examples. [4+6]
(b) Write a C program to read and display multiple strings using pointers.
6. Explain in detail
a. malloc
b. calloc
c. Realloc
d. free
UNIT –V : FILE HANDLING, SEARCHING AND SORTING
Short Answer (2 mark) Questions