0% found this document useful (0 votes)
33 views1 page

C Program To Check Whether Two Strings Are Anagrams. (Ii)

The document contains 5 programming problems: 1) Print Pascal's triangle and find quadratic roots, 2) Check if strings are anagrams and implement linear and binary search, 3) Add matrices using pointers, 4) Implement a singly linked list with dynamic memory allocation including insert, delete, display in both directions and search, 5) Compare and print in reverse the contents of two files.

Uploaded by

ANITHA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

C Program To Check Whether Two Strings Are Anagrams. (Ii)

The document contains 5 programming problems: 1) Print Pascal's triangle and find quadratic roots, 2) Check if strings are anagrams and implement linear and binary search, 3) Add matrices using pointers, 4) Implement a singly linked list with dynamic memory allocation including insert, delete, display in both directions and search, 5) Compare and print in reverse the contents of two files.

Uploaded by

ANITHA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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