C C++ Java Data Structure Python JavaScript CSS Ajax PL/SQL PHP Puzzles C programs C++ programs Java programs



Home » C programming language

C programming Solved Programs/Examples with Solutions






This page contains the C programming solved programs/examples with solutions, here we are providing most important programs on each topic.
We tried to provide all logical, mathematical and conceptual programs that can help to write programs very easily in C language. If you do not want to browse programs by categories, here is the list of all c programs.

Here is the List of C programming solved programs/examples with solutions and detailed explanation.




Advance C programs

  1. C program to print character without using format specifiers.
  2. C program to find Binary Addition and Binary Subtraction.
  3. C program to print weekday of given date.
  4. gotoxy(),clrscr(),getch(),getche() for GCC, Linux.

All Advance C Programs...




Top searched programs...

Here is the list of most important/useful programs searched on the web.

  1. First C program to print "Hello World".
  2. C program to find factorial of a number.
  3. C program to swap two numbers without using third variable.
  4. C program to check whether a number if Armstrong or not.
  5. C program to check whether a number if Even or Odd.
  6. C program to print all leap years from 1 to N.
  7. C program to calculate employee gross salary.
  8. C Program to print tables of numbers from 1 to 20.
  9. C program to print star/pyramid series.
  10. C program to convert temperature from Celsius to Fahrenheit and vice versa.
  11. C program to convert number from Decimal to Binary.
  12. C program to convert number from Binary to Decimal.
  13. C program to print ASCII Table.
  14. C program to get and set current system date and time.
  15. C program to run dos command.




Latest C programs

  1. va_start() and va_end() functions of stdarg.h in C. - April 20, 2018
  2. longjmp() function of setjmp.h in C. - April 20, 2018
  3. localeconv() function of locale.h in C. - April 20, 2018
  4. C program to create dynamic memory for integer, character and float. - April 14, 2018
  5. C program to swap first element with last, second to second last and so on (reversing elements). - April 14, 2018
  6. C program to find nearest lesser and greater element in an array. - April 14, 2018
  7. C program to merge two arrays in third array which is creating dynamically. - April 14, 2018
  8. C program to calculate median of an array. - April 13, 2018
  9. C program to read time in string format and extract hours, minutes and second also check time validity. - April 10, 2018
  10. C program to swap adjacent characters of a string. - April 05, 2018
  11. C program to eliminate all vowels from a string. - April 05, 2018
  12. C program to remove alphabets from an alphanumeric string. - April 05, 2018
  13. C program to convert a string to sentence case. - April 05, 2018
  14. C program to remove all spaces from a given string. - April 05, 2018
  15. C program to check given number is divisible by A and B. - March 27, 2018
  16. 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. - March 27, 2018
  17. C program to swap two string using user define function. - March 26, 2018
  18. C program to pass an array of structures to a user define function. - March 22, 2018
  19. C program to pass a structure to a user define function. - March 22, 2018
  20. C program to pass two dimensional array (Two-D array) to a function. - March 22, 2018
  21. C program to pass function as an argument to a function. - March 22, 2018
  22. C program to pass multiple type of arguments to a function. - March 22, 2018
  23. C program to pass an array of strings to a function. - March 20, 2018
  24. C program to pass a string to a function. - March 20, 2018
  25. C program to swap elements of two integer arrays using user define function. - March 20, 2018
  26. C program to find sum of the array elements (pass an integer array to a function and return the sum). - March 20, 2018
  27. C program to pass a one dimensional (1D) array to a function. - March 20, 2018
  28. C program for sin(x) series. - March 19, 2018
  29. C program to find the sum of series 1^2/1! + 2^2/2! + 3^2/3! + 4^2/4! + ... n^2/n!. - March 18, 2018
  30. 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). - March 18, 2018
  31. C program to find the sum of series x + x/2! + x/4! + ... + x/n!. - March 18, 2018
  32. C program to copy one string to another and count copied characters. - March 14, 2018
  33. C program to create array with reverse elements of one dimensional array. - March 10, 2018
  34. C program to delete prime numbers from an array. - March 09, 2018
  35. C program to check prime numbers in an array. - March 09, 2018
  36. Solution of Warning implicit declaration of function 'getpid' in C. - March 08, 2018
  37. C program to print program’s name. - March 07, 2018
  38. How to save C program's Output in a file in Linux? - March 07, 2018
  39. Compiling C program with pthread.h library in Linux. - March 06, 2018
  40. C program to read the yearly salary of an employee and find tax based on the given conditions. - March 06, 2018
  41. C program to calculate the sum of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3. - March 06, 2018
  42. How to initialize array elements with hexadecimal values in C? - March 05, 2018
  43. C program to calculate the sum of series 1 +1/x^1 + 1/x^2 + 1/x^3 ... + 1/x^n terms. - March 04, 2018
  44. C program to calculate sum of the series 1+11+111+1111+... N terms. - March 04, 2018
  45. C program to print diamond pattern. - March 02, 2018
  46. C program to find multiplication of two matrices. - February 28, 2018
  47. C programs to display Pattern according to number of rows (3). - February 27, 2018
  48. C programs to display Pattern according to number of rows (2). - February 27, 2018
  49. C Example to subtract two integers without using Minus (-) operator. - February 25, 2018
  50. C Example to use 'kbhit' function. - February 25, 2018
  51. C Example for different floating point values prediction. - February 25, 2018
  52. C Example for nested 'printf'. - February 25, 2018
  53. C programs to display Pattern according to number of rows. - February 18, 2018
  54. C program to print 'Rhombus' pattern. - February 16, 2018
  55. C program for printing 'Square' pattern. - February 16, 2018
  56. C program for 'Reverse Full Pyramid' Pattern. - February 16, 2018
  57. C program for 'Reverse Half Pyramid' Pattern. - February 16, 2018
  58. C program for 'Hollow Square' Pattern. - February 16, 2018
  59. C program for printing 'Rectangle' Pattern. - February 16, 2018
  60. C program for ‘Hollow Rectangle’ Pattern - February 14, 2018
  61. C program for 'Full Pyramid' Pattern. - February 14, 2018
  62. C program for ‘Half Pyramid’ Pattern. - February 14, 2018
  63. C program to merge two sorted arrays. - January 18, 2018
  64. C program for radix sort. - January 18, 2018
  65. C program for heap sort. - January 18, 2018
  66. Program for insertion and deletion in heap. - January 03, 2018
  67. Insertion in AVL Tree using C program. - January 01, 2018
  68. Insertion, Deletion and Traversal in Binary Search Tree. - December 24, 2017
  69. C program to implement priority queue. - December 21, 2017
  70. C program to implement double stack. - December 21, 2017
  71. C program to implement circular queue using array. - December 21, 2017
  72. Reverse a string using stack. - December 19, 2017
  73. Implementation of Deque using Array. - December 19, 2017
  74. Sparse matrix for 3-tuple method using Array. - December 19, 2017
  75. C program to print ASCII values of all digits using goto statement. - November 19, 2017
  76. C program to print ASCII values of all lowercase alphabets using goto statement. - November 19, 2017
  77. C program to print ASCII values of all uppercase alphabets using goto statement. - November 19, 2017
  78. C program to print 1, 11, 31, 61, ... 10 times using goto statement. - November 09, 2017
  79. C program to print square and cube of all numbers from 1 to N using goto statement. - November 09, 2017
  80. C program to read a name and print its 10 times using goto statement. - November 07, 2017
  81. C program to print table of a given number using goto statement. - November 07, 2017
  82. C program to print table of 2 using goto statement. - November 07, 2017
  83. C program to print all numbers from N to 1 using goto statement. - November 07, 2017
  84. C program to print all numbers from 1 to N using goto statement. - November 07, 2017
  85. C program to print ASCII value of a character. - November 07, 2017
  86. C program to find subtraction of two integer number. - November 07, 2017
  87. C program to read n strings and print each string's length. - October 24, 2017
  88. Convert String to Integer in C programming language. - May 27, 2016







You may also be interested in...

C/C++ Tips and Tricks...

Was this page helpful? YES NO

Are you a blogger? Join our Blogging forum.


Comments and Discussions