0% found this document useful (0 votes)
40 views

C Assignments C2

This document lists 83 C programming assignments covering a wide range of topics. Some of the assignments involve basic tasks like checking even/odd numbers, swapping elements, and calculating sums. Others involve more complex tasks like manipulating strings, working with arrays, implementing data structures, and using control flow statements like goto. Overall, the assignments provide practice with many fundamental and advanced C programming concepts.

Uploaded by

Abhishek kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

C Assignments C2

This document lists 83 C programming assignments covering a wide range of topics. Some of the assignments involve basic tasks like checking even/odd numbers, swapping elements, and calculating sums. Others involve more complex tasks like manipulating strings, working with arrays, implementing data structures, and using control flow statements like goto. Overall, the assignments provide practice with many fundamental and advanced C programming concepts.

Uploaded by

Abhishek kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

C ASSIGNMENTS

1. Check EVEN or ODD using Macro in C language.


2. C program to read enter key, How to identify ENTER KEY is pressed in c programming
language?
3. C program to swap first element with last, second to second last and so on (reversing
elements).
4. C program to find nearest lesser and greater element in an array.
5. C program to merge two arrays in third array which is creating dynamically.
6. C program to calculate median of an array.
7. C program to read time in string format and extract hours, minutes and second also check
time validity.
8. C program to swap adjacent characters of a string.
9. C program to eliminate all vowels from a string.
10. C program to remove alphabets from an alphanumeric string.
11. C program to convert a string to sentence case.
12. C program to remove all spaces from a given string.
13. C program to check given number is divisible by A and B.
14. In this C program, we will read name and marital status of a girl and print her name Miss
or Mrs based on given marital status.
15. C program to swap two string using user define function.
16. C program to pass an array of structures to a user define function.
17. C program to pass a structure to a user define function.
18. C program to pass two dimensional array (Two-D array) to a function.
19. C program to pass function as an argument to a function.
20. C program to pass multiple type of arguments to a function.
21. C program to pass an array of strings to a function.
22. C program to pass a string to a function.
23. C program to swap elements of two integer arrays using user define function.
24. C program to find sum of the array elements (pass an integer array to a function and
return the sum).
25. C program to pass a one dimensional (1D) array to a function.
26. C program for sin(x) series.
27. C program to find the sum of series 1^2/1! + 2^2/2! + 3^2/3! + 4^2/4! + ... n^2/n!.
28. C program to find the sum of series 1.2/3 + 2.3/4 + 3.4/5 + 4.5/6 + ... + n(n +1)/(n+2).
29. C program to find the sum of series x + x/2! + x/4! + ... + x/n!.
30. C program to copy one string to another and count copied characters.
31. C program to create array with reverse elements of one dimensional array.
32. C program to delete prime numbers from an array.
33. C program to check prime numbers in an array.
34. C program to print program’s name.
35. C program to read the yearly salary of an employee and find tax based on the given
conditions.
36. C program to calculate the sum of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3.
37. How to initialize array elements with hexadecimal values in C?
38. C program to calculate the sum of series 1 +1/x^1 + 1/x^2 + 1/x^3 ... + 1/x^n terms.
39. C program to calculate sum of the series 1+11+111+1111+... N terms.
40. C program to print diamond pattern.
41. C program to find multiplication of two matrices.
42. C programs to display Pattern according to number of rows (3).
43. C programs to display Pattern according to number of rows (2).
44. C Example to subtract two integers without using Minus (-) operator.
45. C Example to use 'kbhit' function.
46. C Example for different floating point values prediction.
47. C Example for nested 'printf'.
48. C programs to display Pattern according to number of rows.
49. C program to print 'Rhombus' pattern.
50. C program for printing 'Square' pattern.
51. C program for 'Reverse Full Pyramid' Pattern.
52. C program for 'Reverse Half Pyramid' Pattern.
53. C program for 'Hollow Square' Pattern.
54. C program for printing 'Rectangle' Pattern.
55. C program for ‘Hollow Rectangle’ Pattern
56. C program for 'Full Pyramid' Pattern.
57. C program for ‘Half Pyramid’ Pattern.
58. C program to merge two sorted arrays.
59. C program for radix sort.
60. C program for heap sort.
61. Program for insertion and deletion in heap.
62. Insertion in AVL Tree using C program.
63. Insertion, Deletion and Traversal in Binary Search Tree.
64. C program to implement priority queue.
65. C program to implement double stack.
66. C program to implement circular queue using array.
67. Reverse a string using stack.
68. Implementation of Deque using Array.
69. Sparse matrix for 3-tuple method using Array.
70. C program to print ASCII values of all digits using goto statement.
71. C program to print ASCII values of all lowercase alphabets using goto statement.
72. C program to print ASCII values of all uppercase alphabets using goto statement.
73. C program to print 1, 11, 31, 61, ... 10 times using goto statement.
74. C program to print square and cube of all numbers from 1 to N using goto statement.
75. C program to read a name and print its 10 times using goto statement.
76. C program to print table of a given number using goto statement.
77. C program to print table of 2 using goto statement.
78. C program to print all numbers from N to 1 using goto statement.
79. C program to print all numbers from 1 to N using goto statement.
80. C program to print ASCII value of a character.
81. C program to find subtraction of two integer number.
82. C program to read n strings and print each string's length.
83. Convert String to Integer in C programming language.

You might also like