C Codes (1)
C Codes (1)
(6 Jan to 29 Jan)
1. Create an array a1 with n elements. Insert an element in i th position of a1 and delete
an element grom jth position of a1.
2. Store n number in an array conduct a linear search and failure in the form of suitable
message.
3. Find the sum of rows and columns of matrix of given order (rows X columns)
4. Find the product of 2 matrix. User input size.
5. WAP to count the total number of duplicate elements in an array. Also print all the
unique elements in an array using functions. Count the frequency of each element of
array.
6. Create a structure name => Employee to store the employee detail such as employee id,
name and salary write the program to input the data for 3 employees, find the highest
salary of employee and display their information. Implement this problem using
function.
7. Write the program to manage the information about multiple people using the structure
person: -Input the name and age for each person and display the entered data for all
people. Implement this problem using pointers.
8. Create union of name variables with 3 members a, b and c. The datatype of a is integer,
b I s float, c is string. Display the value of all the three variable.
9. Create a Linked List with 3 nodes node1, node2, node3 & display all the items in the
Linked List.
10. Implement single Linked List data structure & its operations (Insert & Delete) in the
beginning, end and nth position of the list & display all the items stored in the linked
list.