Dear Students,
Here is a list of programs which you are supposed to write in your file.
I am not specifying all the programs which we have done in the lab, but only some of the basic programs. Make sure that you have at least recorded all of them in your files.
Here is a list of programs which you are supposed to write in your file.
I am not specifying all the programs which we have done in the lab, but only some of the basic programs. Make sure that you have at least recorded all of them in your files.
Structures in C :
- To display mark sheet of one student, where student is defined as structure as per its attributes.
- To display mark sheet of such n students, as per previous program.
-
- Create a structure DOB within the structure Bank.
- Print details of customer having balance less than 100.
- Withdraw
- Deposit
- Display the balance
- Sort the customer detail in ascending order of their balance.
- Create a structure player and sort them according to their batting average.
- Create a structure student and sort 5 students' data rank wise.
Pointers : (all programs supposed to be
done using Function)
- WAP to add two integers using pointers.
- WAP to swap two integer values using pointers (call by reference)
- Write a program using pointer to read in an array of integer.
- Print the elements
- Print in reverse order
- WAP to take a sorted array from the user, and insert an Integer value at its correct place.
- WAP to add two matrices and return the resultant matrix.
- WAP to display fibonacci series.
- WAP to calculate the roots of a quadratic equation in which function must use two pointer arguments, one to receive coefficient a,b,c and other to send the roots to the calling function.X1 = -b+square-root(b2-4ac)/2aX2 = -b-square-root(b2-4ac)/2a
- WAP that receives a character string and a character as a function argument, and delete all the occurrences of that character from the string.
- WAP to read array of names and sort them in alphabetical order.
- WAP to reverse a string and check whether its a palindrome. (find length of the string with the help of UDF)
- Re do the program of Structure Bank using pointers.
File Handling :
- WAP in C to take input from the user and save it in a file.
- WAP in C to copy the contents of one file into another and display the new file.
- WAP in C to copy the content of two files into a new file, one after another, and display the contents of the new file.
- WAP in C to take n integers as input from the user and save it in binary form in a file, further read the same file and save the odd numbers in one file and even numbers in to another file, display the contents of the new files.
Thanks for provide such info ....
ReplyDelete