C Lab Programs

c-techaravind


                                              To compile and execute the program, copy the code into a text file. Save the text file with the extinction .c (ex. program.c). Save your file in turboc2 or borland (it may your othe c-compiler). Now open you IDE (tc.exe) , goto file->pick file. Your source file will be loaded into IDE. Now you can compile and run the file easily.





1)Write a program to swap two numbers.







2)write a program to print digits triangles.







3)print the series upto  'n' terms:  1   4   27  256.......





4)Find roots of a given quadratic equation.





5)Print Sin series







6)Print Cos series







7)Write a menu driven program to do simple arithmetic operations.





8)write a program to add,multiplay and find transposte of two given matrices.





9)Convert the given string to uppercase without using string handling function.


10)Write a program to swap contents of two variables using pointers.




11)Write a program to do array of structures maintenance.







12)write a program to do complex number operations using structures.







13)Write a program to copy 2 files whose names are given as command line arguments.







14)Write a program to concatenate 2 files whose names are given as command line arguments.





15)Write a program to sort given numbers using Quick Sort.





16)Write a program to sort given numbers using Bubble Sort.





17)Write a program to sort given numbers using Merge Sort.





18)Write a program to sort given numbers using Insertion Sort.







19)Binary searching.







20)Linear searching.





21)Factorial By Recursion.





22)Find reverse of number using recursion method.







23)Find the nth Fibbinoic series.







24)Menu driven program for simple string operation.





25)Heap Sort

0 comments:

Post a Comment

 
Etutos © 2010-2011