Softex IT Solutions Aug.2013 | Page 34

Page no:34 IT12L - C Programming Lab Objective : This will give hands on practice to student about programming language C and will inculcate programming habit in them. 1. Find Area, Perimeter of Square & Rectangle. 2. Find max. Among 3 nos. 3. Check leap year 4. Factorial of Number 5. Calculate a b 6. Prime Number. 7. Perfect Number. 8. Armstrong Number. 9. Floyd’s Triangle 10. Fibonacci Series 11. Inter conversion of Decimal, Binary & Hexadecimal no. 12. LCM & GCD of numbers 13. Insert & Delete an element at given location in array. 14. Transpose of matrices 15. Multiplication of matrices 16. Display upper & lower diagonal of matrices 17. Array of Structure e.g. student result, Employee pay slip , Phone bill 18. Function with no parameter & no return values 19. Function with parameter & return values 20. Function with parameter & no return values 21. Function with call by reference 22. Recursion function e.g. sum of digit, reverse of digit 23. String manipulation function e.g. string copy, concatenation, compare, string length, reverse 24. Pointer Arithmetic 25. File handling e.g. Read / Write file, copy file, merging file 26. Random access of file 27. File handling with command line arguments 28. Drawing line, rectangle, circle, ellipse by using graph 29. Changing foreground/ background color 30. Changing color & font of text 31. Swapping of numbers by using bit wise operator. 32. Macro expansion 33. File Inclusion 34. IO interfacing & Device Driver using C.