You are on page 1of 1

1.

(i) Write a C program that takes an integer value n as input and prints first n lines of the Pascal’s
triangle. 
(ii) Write a program to find the roots of a Quadratic equation

2. (i) Write a C Program to check whether two strings are anagrams.


(ii) Write a C program that implements binary search and linear search technique.

3. Write a function using pointers to add matrix and to return the resultant matrix to the calling
function.
4. Write a C program to implement singly linked list using dynamic memory allocation

 Insert at beginning, end, middle


 Delete at beginning, end, middle
 Display – From beginning to end & End to beginning
 Search an element in the list

5. (i) Write the C program to compare contents of two files.


(ii) Write the C program to print contents in reverse order of a file.

You might also like