UNIT-IIII
1. Write a C program to concatenate two strings without using built-in string functions
2. Define an array. Explain the initialization of one-dimensional and two-dimensional arrays
with suitable examples.
3. Write a program to perform read, write and addition of two dimensional arrays.
4. Explain the concept of a two-dimensional array in C with a suitable example.
5. Define an Array? How to declare and initialize a One -dimensional array?
6. Write a C program to print maximum element from one-dimensional array
7. Write a C program to accept N numbers and arrange them in ascending order.
8. Write a C program to print transpose of a given matrix.
9. Define two dimensional Array? Write a program to perform matrix multiplication.
10. Write a C program to search for a given element in an array.
11. Explain any five string handling functions in C with suitable examples.
12. Write a C program to count the number of vowels and consonants in a given string.
13. Write a C program to check whether a given string is a palindrome or not.
UNIT-IV
1. Write short notes on dereferencing and address operators.
2. Explain the concept of a pointer to pointer. Write a C program to demonstrate this concept.
3. Write a C program to swap two numbers using pointers.
4. Define a structure in C and explain the concept of nested structures with suitable examples.
5. Explain about pointer arithmetic in C with example program.
6. Demonstrate the use of unions by writing a C program
7. Define a structure. Explain the concept of structure with in a structure with an example program.
8. Explain how an array can be manipulated using Pointers
9. What is a pointer? Write a C program to print address of a variable.
10. Write a C program to perform arithmetic operations using pointers.
11. Define structure. Explain how a structure can be declared and initialized in C?
12. Write a C program to display the size of a structure using the sizeof operator.
13. Differentiate between structures and unions in C with example program.
14. Write a C program to copy one structure variable to another structure of the same type.
15. Define a structure. Write a C program to store and display the details of five students using an array of
structures.
UNIT-V
1. Explain in detail about different aspects of function calling using example programs
2. Write a C program to find factorial of a given number using recursion.
3. Write a C program to copy the contents of one file into another file.
4. Write a C program and explain how an array can be passed through a function.
5. Explain the following library functions with suitable examples:
(i) fopen. (ii) fread. (iii) fseek. (iv) fscanf. (v) fprintf.
6. Differentiate between call by value and call by reference with examples.
7. Explain function declaration, function call and function definition in C with a suitable example.
8. Write a C program to write and read data into a Text file.
9. Define recursion. Write a C program to find Fibonacci series using recursion.
10. Explain about various types of file access modes.
11. Write a C program to find LCM of a two numbers using recursion.
12. Illustrate Scope and Life time of variables in C with suitable examples.
13. Explain the different types of files in C.
14. Explain the types of functions in C based on their return type and arguments with an example programs.