Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codewithsandy/c
It explains in a elegantly c basics, numerical, data structure, algorithms, equations, patterns, matrix, file management, memory allocation...
https://github.com/codewithsandy/c
algorithm algorithms ansi-c bootstrap c c-language codecamp compiler computer-engineering computer-science data-structures github go good-practices hackthon language learn-to-code pointer programmer programming-language
Last synced: 25 days ago
JSON representation
It explains in a elegantly c basics, numerical, data structure, algorithms, equations, patterns, matrix, file management, memory allocation...
- Host: GitHub
- URL: https://github.com/codewithsandy/c
- Owner: codewithsandy
- License: mit
- Created: 2021-05-08T13:59:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-08T14:15:18.000Z (over 3 years ago)
- Last Synced: 2024-09-30T01:05:25.006Z (about 1 month ago)
- Topics: algorithm, algorithms, ansi-c, bootstrap, c, c-language, codecamp, compiler, computer-engineering, computer-science, data-structures, github, go, good-practices, hackthon, language, learn-to-code, pointer, programmer, programming-language
- Language: C
- Homepage:
- Size: 243 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#
C Programming
This will helps you to enhancement in C. This will explains in a easy-to-understand.
# ANSI C
This document cover all the basics to advance programs like
Arithmetic Numeric Analysis | Loops | Array | String | Function | List | Linked List | Methods & Equations | Operators & Expressions | Structures & Unions | Print Patterns | Data Structure | Randomized Algorithms | Searching | Sorting | Stack & Queue algorithm | Hashing | Graph | Tree | File Management & Operations | Memory Allocation | Client-Server |
My C Examples for everyone
I do consider myself as a programmer. And I create these little programs as experiments to learn with ANSI C, or to solve problems for myself.
I would gladly accept pointers from others to improve, simplify, or make the code more efficient. If you would like to make any comments then please feel free to email me:SANDESH POL.
:email: [email protected]
# My Best C Examples for education
- [Hello World](https://github.com/codewithsandy/C/blob/master/01.%20Hello%20World.c) - First program in c.
- [Array](https://github.com/codewithsandy/C/tree/master/Array) - We have used Array in a many of examples on string and number's in this directory.
Programs
- [1](https://github.com/codewithsandy/C/blob/master/Array/57.%20Add%20'n'%20numbers%20using%20array.c) - Add 'n' numbers using array.
- [2](https://github.com/codewithsandy/C/blob/master/Array/104.%20%20palindrome%20of%20word%20using%20array.c) - Program to check the palindrome of word using array.
- [3](https://github.com/codewithsandy/C/blob/master/Array/111.%20Arrange%20array%20in%20ascending%20order.c) - Program to arrange array numbers in ascending order.
- [4](https://github.com/codewithsandy/C/blob/master/Array/113.%20Delete%20an%20element%20from%20array.c) - Program to delete an element from array.
- [5](https://github.com/codewithsandy/C/blob/master/Array/117.%20Largest%20and%20Smallest%20number%20in%20array.c) - Program to find Largest and Smallest number in array.
- [6](https://github.com/codewithsandy/C/blob/master/Array/118.%20reverse%20the%20array.c) - Program to reverse the array.
- [7](https://github.com/codewithsandy/C/blob/master/Array/119.%20insert%20an%20element%20in%20array.c) - Program to insert an element in array.
- [8](https://github.com/codewithsandy/C/blob/master/Array/114.%20Delete%20number%20from%20array.c) - Program to delete given number from array.
- [String](https://github.com/codewithsandy/C/tree/master/String) - We have used String in a number of examples in this directory.
- [Do While Loop](https://github.com/codewithsandy/C/tree/master/Loop) - We have used do while looping structure in many programs.
- [Linked List](https://github.com/codewithsandy/C/graphs/traffic) - This directory contains the linked list programs.- [Arithmetic Numerical](https://github.com/codewithsandy/C/tree/master/Arithmetic%20Numerical) - Contains the differents Arithmetic numerical operations.
- [Numerical Method's](https://github.com/codewithsandy/C/tree/master/Numerical%20Method's) - Contains the differents Arithmetic Methods and Equations.
Programs
- [1](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/13.%20%20Find%20the%20roots%20of%20a%20quadratic%20equation.c) - Program to find the roots of a quadratic equation.
- [2](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/76.%20Sum%20of%20factorial%20series%2011!%20%2B%2022!%20%2B...1N!.c) - Program to print sum of factorial series 1/1! + 2/2! +...1/N!
- [3](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/77.%20Sum%20of%20'n'%20terms%20in%20Taylor%20series.c) - Program to calculate the sum of 'n' terms in Taylor series.
- [4](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/83.%20Find%20area%20of%20triangle%20using%20Heron's%20formula.c) - Program to find area of triangle using Heron's formula.
- [5](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/86.%20Find%20f(x)%20by%20Lagrange's%20interpolation%20method.c) - Program to find f(x) by Lagrange's interpolation method.
- [6](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/89.%20General%20Newton%20Raphson.c) - Program for Newton Raphson General.
- [7](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/91.%20Simpson%2013%20rule.c) - Program for Simpson 1/3 rule.
- [8](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/123.%20Goldbach's%20Conjecture.c) - Program for Goldbach's Conjecture.
- [9](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/135.%20Sieve%20of%20Eratosthenes%20%20An%20algorithm%20to%20generate%20all%20the%20prime%20numbers%20within%20an%20range.c) - Sieve of Eratosthenes : An algorithm to generate all the prime numbers within an range.
- [10](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/157.%20Durand%20Kerner%20Roots.c) - Durand Kerner Roots.
- [11](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/158.%20Gauss%20Elimination.c) - Program for Gauss Elimination Method.
- [12](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/159.%20Gauss%20Seidel%20Method.c) - Program for Gauss Seidel Method.
- [13](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/160.%20Lagrange%20Theorem.c) - Lagrange Theorem..
- [14](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/161.%20Newton-Raphson%20interpolation.c) - Newton-Raphson interpolation algorithm..
- [15](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/162.%20Ode%20Forward%20Euler.c) - Ordinary differential equation using forward Euler
- [16](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/163.%20Mean.c) - Mean.
- [17](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/164.%20Median.c) - Median.
- [18](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/165.%20Variance.c) - Variance.
- [19](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/166.%20QR%20Eigen%20Values.c) - Compute real eigen values and eigen vectors of a symmetric matrix method
- [20](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/167.%20Realtime%20Stats.c) - Compute statistics for data entered in Real-time Stats
- [21](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/168.%20LU%20Decompose.c) - LU decomposition square matrix
- [22](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/169.%20Ode%20Midpoint%20Euler.c) - Solve a multivariable first order [ordinary differential equation (ODEs) using (midpoint Euler method)
- [23](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/170.%20ODE%20semi%20implicit%20Euler.c) - Solve a multivariable first order [ordinary differential equation (ODEs) using [semi implicit Euler method]
- [24](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/171.%20Qr%20Decompose.h) - QR decomposition of a given matrix.
- [25](https://github.com/codewithsandy/C/blob/master/Numerical%20Methods/172.%20Qr%20Decomposition.c) - Program to compute the QR decomposition of a given matrix.
- [Complex Number](https://github.com/codewithsandy/C/tree/master/Complex%20Number) - This directory contains the complex number programs.
- [Operators](https://github.com/codewithsandy/C/tree/master/Operators) - Contains the different programs of operators.
- [Pointer](https://github.com/codewithsandy/C/tree/master/Pointer) - Contains the Pointer programs.
- [Matrics Programs](https://github.com/codewithsandy/C/tree/master/Matrix) - Contains the programs of differents operations on matrics.
Programs
- [1](https://github.com/codewithsandy/C/blob/master/Matrix/110.%20Add%20two%20matrix.c) - Program to add two matrix.
- [2](https://github.com/codewithsandy/C/blob/master/Matrix/112.%20matrix%20is%20sparse%20or%20not.c) - Program to check whether the matrix is sparse matrix or not.
- [3](https://github.com/codewithsandy/C/blob/master/Matrix/115.%20Determinant%20of%202%C3%972%20matrix.c) - Program to calculate the determinant of 2×2 matrix.
- [4](https://github.com/codewithsandy/C/blob/master/Matrix/116.%20Determinant%20of%203%C3%973%20matrix.c) - Program to calculate the determinant of 3×3 matrix.
- [5](https://github.com/codewithsandy/C/blob/master/Matrix/122.%20Multiplication%20of%20two%20Matrices.c) - Program for Multiplication of two Matrices.
- [Binary Conversion](https://github.com/codewithsandy/C/tree/master/Binary%20Conversion's) - The Spectial programs in c, Decimal to Binary and Binary to Decimal.- [Searching](https://github.com/codewithsandy/C/tree/master/Search) - Differnet searching programs.
- [Sorting](https://github.com/codewithsandy/C/tree/master/Sort) - Differnet sorting method programs.
Programs
- [1](https://github.com/codewithsandy/C/blob/master/Sort/120.%20Sort%20array%20using%20Insertion%20sort.c) - Program to sort array using Insertion sort
- [2](https://github.com/codewithsandy/C/blob/master/Sort/125.%20Sort%20array%20using%20Selection%20Sort.c) - Program to sort array using Selection Sort.
- [3](https://github.com/codewithsandy/C/blob/master/Sort/126.%20Sort%20array%20using%20Bubble%20Sort.c) - Program to sort array using Bubble Sort.
- [4](https://github.com/codewithsandy/C/blob/master/Sort/173.%20Bubble%20sort.c) - Program to Bubble sort algorithm implementation.
- [5](https://github.com/codewithsandy/C/blob/master/Sort/174.%20Quick%20sort.c) - Program for Quick sort algorithm.
- [6](https://github.com/codewithsandy/C/blob/master/Sort/175.%20Heap_sort.c) - Program for Heap sort algorithm.
- [7](https://github.com/codewithsandy/C/blob/master/Sort/176.%20Radix_sort.c) - Program for radix sort algorithm.
- [8](https://github.com/codewithsandy/C/blob/master/Sort/177.%20Merge_sort.c) - Program for radix sort algorithm.
- [9](https://github.com/codewithsandy/C/blob/master/Sort/178.%20Bucket_sort.c) - Program for bucket sort algorithm.
- [10](https://github.com/codewithsandy/C/blob/master/Sort/179.%20binary_insertion_sort.c) - Program for binary insertation sort.
- [11](https://github.com/codewithsandy/C/blob/master/Sort/180.%20selection_sort.c) - Program for selection sort.
- [12](https://github.com/codewithsandy/C/blob/master/Sort/181%20selection_sort_recursive.c) - Program for selection sort recursive.
- [13](https://github.com/codewithsandy/C/blob/master/Sort/182.%20insertion_sort.c) - Program for insertion sort.
- [14](https://github.com/codewithsandy/C/blob/master/Sort/183.%20insertion_sort_recursive.c) - Program for insertion sort recursive.
- [15](https://github.com/codewithsandy/C/blob/master/Sort/184.%20bubble_sort_2.c) - Program for bubble sort.
- [16](https://github.com/codewithsandy/C/blob/master/Sort/185.%20bubble_sort_recursion.c) - Program for bubble sort recursive.
- [17](https://github.com/codewithsandy/C/blob/master/Sort/186.%20random_quick_sort.c) - Randomised quick sort implementation.
- [18](https://github.com/codewithsandy/C/blob/master/Sort/187.%20Merge_sort_non-rec.c) - Program to demonstrate non recursive merge sort
- [19](https://github.com/codewithsandy/C/blob/master/Sort/188.%20bead_sort.c) - Sorting of array list using bead sort.
- [20](https://github.com/codewithsandy/C/blob/master/Sort/189.%20counting_sort.c) - Program for counting sort.
- [21](https://github.com/codewithsandy/C/blob/master/Sort/190.%20heap_sort_2.c) - Program for heap sort.
- [22](https://github.com/codewithsandy/C/blob/master/Sort/191.%20Bogo_sort.c) - Program for bogo sort.
- [23](https://github.com/codewithsandy/C/blob/master/Sort/192.%20Cocktail_sort.c) - Program for cocktail sort.
- [24](https://github.com/codewithsandy/C/blob/master/Sort/193.%20Comb_sort.c) - Program for comb sort.
- [25](https://github.com/codewithsandy/C/blob/master/Sort/194.%20Cycle_sort.c) - Program for cycle sort.
- [26](https://github.com/codewithsandy/C/blob/master/Sort/195.%20Radix_sort_2.c) - Program for radix sort.
- [27](https://github.com/codewithsandy/C/blob/master/Sort/196.%20Shell_sort.c) - Program for shell sort.
- [28](https://github.com/codewithsandy/C/blob/master/Sort/197.%20Gnome_sort.c) - Program for gnome sort.
- [29](https://github.com/codewithsandy/C/blob/master/Sort/198.%20Pancake_sort.c) - Program for pancake sort.
- [30](https://github.com/codewithsandy/C/blob/master/Sort/199.%20Partition_sort.c) - Program for partition sort.
- [31](https://github.com/codewithsandy/C/blob/master/Sort/200.%20Multikey_quick_sort.c) - Program for multikey quick sort.
- [32](https://github.com/codewithsandy/C/blob/master/Sort/201.%20Pigeonhole_sort.c) - Program for Pigeonhole sort.
- [33](https://github.com/codewithsandy/C/blob/master/Sort/202.%20Shaker_sort.c) - Program for shaker sort.
- [34](https://github.com/codewithsandy/C/blob/master/Sort/203.%20Shell_sort2.c) - Program for shell sort.
- [35](https://github.com/codewithsandy/C/blob/master/Sort/204.%20Stooge_sort.c) - Program for stooge sort.- [Pattern Programs](https://github.com/codewithsandy/C/tree/master/Pattern) - Select Your Favourite pattern and get code on this directory with respective number.
Programs
- [21](https://github.com/codewithsandy/C/blob/master/Pattern/21.%20Half%20Pyramid%20of%20star.c) - Program for Half Pyramid of *.
- [22](https://github.com/codewithsandy/C/blob/master/Pattern/22.%20Half%20inverted%20pyramid%20of%20star.c) - Program for Half Inverted Pyramid of *
- [23](https://github.com/codewithsandy/C/blob/master/Pattern/23.%20Full%20Pyramid%20of%20star.c) - Program for Full Pyramid of *
- [24](https://github.com/codewithsandy/C/blob/master/Pattern/24.%20Half%20pyramid%20of%20number.c) - Program for half pyramid of numbers.
- [25](https://github.com/codewithsandy/C/blob/master/Pattern/25.%20Half%20pyramid%20of%20reverse%20number.c) - Program for Half pyramid of reverse number.
- [26](https://github.com/codewithsandy/C/blob/master/Pattern/26.%20Half%20pyramid%20of%20alphabet.c) - Program for patterns of half alphabets
- [27](https://github.com/codewithsandy/C/blob/master/Pattern/27.%20Pattern%20(1%2C121%2C12321)%20format.c) - Program for patterns of numbers
- [28](https://github.com/codewithsandy/C/blob/master/Pattern/28.%20Half%20Pyramid%20of%20Binart%20digit.c) - Pattern of half pyramid of binary digit
- [29](https://github.com/codewithsandy/C/blob/master/Pattern/29.%20Half%20pyramid%20inverted%20no.c) - Pattern half pyramid of inverted number
- [30](https://github.com/codewithsandy/C/blob/master/Pattern/30.%20Reverse%20half-pyramid%20of%20num.c) - Pattern reverse half pyramid of number
- [31](https://github.com/codewithsandy/C/blob/master/Pattern/31.%20Dis-joint%20number%20pyramid%20.c) - Program for Disjoint Pyramid Pattern of number
- [32](https://github.com/codewithsandy/C/blob/master/Pattern/32.%20Floyd's%20triangle.c) - Program for pyramid of Floyd's triangle
- [33](https://github.com/codewithsandy/C/blob/master/Pattern/33.%20Pyramid%20of%20star.c) - Program for Pyramid of star
- [34](https://github.com/codewithsandy/C/blob/master/Pattern/34.%20Pyramid%20star_A_star.c) - Program for Pyramid pattern.
- [35](https://github.com/codewithsandy/C/blob/master/Pattern/35.%20Pyramid%201-9%20number.c) - Pattern for Number Pyramid.
- [36](https://github.com/codewithsandy/C/blob/master/Pattern/36.%20Pascal%20triangle.c) - Program for pyramid of Pascal triangle
- [37](https://github.com/codewithsandy/C/blob/master/Pattern/37.%20Pascal%20triangle(without%20function).c) - Pascal triangle without using function.
- [38](https://github.com/codewithsandy/C/blob/master/Pattern/38.%20Pascal%20triangle(1%2C121).c) - Program for Pascal triangle 2.
- [39](https://github.com/codewithsandy/C/blob/master/Pattern/39.%20Half%20Pyramid(number%2Calphabet).c) - Program for Pyramid of Number Alphabet Pattern.
- [40](https://github.com/codewithsandy/C/blob/master/Pattern/40.%20Star%20diamond.c) - Diamond Pattern.
- [41](https://github.com/codewithsandy/C/blob/master/Pattern/41.%20Num%20Diamond.c) - Program for Number Diamond Pattern.
- [42](https://github.com/codewithsandy/C/blob/master/Pattern/42.%20Diamond%20(1%2C222).c) - Program for Diamond of Numbers Pattern.
- [43](https://github.com/codewithsandy/C/blob/master/Pattern/43.%20Diamond%20star%20outline.c) - Program for pattern of diamond star outline.
- [44](https://github.com/codewithsandy/C/blob/master/Pattern/44.%20Hollow%20Diamond.c) - Program for pattern of Hollow Diamond
- [45](https://github.com/codewithsandy/C/blob/master/Pattern/45.%20Hollow%20Square.c) - Program for pattern of Hollow Square.
- [46](https://github.com/codewithsandy/C/blob/master/Pattern/46.%20Hourglass%20Pattern.c) - Program for pattern of Hourglass
- [47](https://github.com/codewithsandy/C/blob/master/Pattern/47.%20Nested%20Star-Hash%20Pyramid.c) - Nested Star-Hash Pyramid.
- [48](https://github.com/codewithsandy/C/blob/master/Pattern/48.%20Reverse%20star%20pyramid.c) - Program for Reverse star pyramid.
- [49](https://github.com/codewithsandy/C/blob/master/Pattern/49.%20Rhombus%20Pattern.c) - Program for Rhombus Pattern.
- [50](https://github.com/codewithsandy/C/blob/master/Pattern/50.%20Square%20kite%20pattern.c) - Program for Square kite pattern.
- [51](https://github.com/codewithsandy/C/blob/master/Pattern/51.%20Triangle%20with%20only%20border.c) - Program for Triangle with only border
- [124](https://github.com/codewithsandy/C/blob/master/Pattern/124.%20Numerical%20Spiral%20Pattern.c) - Program for Numerical Spiral Pattern.
- [128](https://github.com/codewithsandy/C/blob/master/Pattern/128.%20Half%20Pyramid%20Pattern(1%2C%2032%2C%20456).c) - Program for Pattern.
- [129](https://github.com/codewithsandy/C/blob/master/Pattern/129.%20half%20Pattern(1%2C%208%202%2C14%209%203).c) - Program for Pattern.
- [130](https://github.com/codewithsandy/C/blob/master/Pattern/130.%20Swastika%20pattern.c) - Program for Swastika pattern.
- [131](https://github.com/codewithsandy/C/blob/master/Pattern/131.%20H%20pattern.c) - Program for H pattern
- [132](https://github.com/codewithsandy/C/blob/master/Pattern/132.%20Diamond%204%20Pattern.c) - Program for @
![PATTERN1](https://user-images.githubusercontent.com/80276013/117767122-1ede2400-b24e-11eb-8fed-b4b361c14f69.png)
![PATTERN2](https://user-images.githubusercontent.com/80276013/117767135-24d40500-b24e-11eb-9489-5e33ab3ae48e.png)
![PATTERN3](https://user-images.githubusercontent.com/80276013/117767156-2ac9e600-b24e-11eb-97bb-5c3f70e56e0f.png)
![PATTERN4](https://user-images.githubusercontent.com/80276013/117767170-2f8e9a00-b24e-11eb-9c57-8f73e73fedd1.png)
![PATTERN5](https://user-images.githubusercontent.com/80276013/117767187-32898a80-b24e-11eb-8d91-37d301ff76be.png)
                                                                                              Thanks for reading, give a star.