[Visit my website to know more about me : gouravthakur.com](https://gouravthakur.com)
# Beginners C Program Examples
## :octocat: Fork and :eight_pointed_black_star: star this repo
Simple, short and sweet beginners friendly C language programs
These program are written in codeblocks ide for windows. These programs are not very sophisticated as these are beginners friendly and have many bugs. Anyone who is new to c language can practice these examples.
- Only programs written in c language will be merged.
- Beautify/Format your code before making a PR. Poorly stuctured code with inconsistent spacing and bad variable name will not be merged.
- Use this tool to beautify your code : https://codebeautify.org/c-formatter-beautifier
- Make sure your program works after beautifying it.
- #include< stdio.h > is wrong and you must remove whitespaces. #include<stdio.h> is correct.
- Please check your spellings before making a PR
- Comment code properly.
![alt text](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Screenshot.PNG)
# List of programs
- [Hello World!](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/HelloWorld.c)
- [Area and circumference](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/AreaAndCircumference.c)
- [Basic Arithmatic](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BasicArithmatic.c)
- [Fahrenheit To Celcius](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/FahrenheitToCelciusConv.c)
- [Lowercase To Uppercase](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/LowercaseToUppercase.c)
- [Uppercase To Lowercase](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/UppercaseToLowercase.c)
- [Simple Interest Calculator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/SimpleInterestCalculator.c)
- [Student Marks Percentage](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/StudentMarksPercentage.c)
- [Swap Values Using Third Variable](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/SwapValueUsingThirdVariable.c)
- [Swap Value Without Using Third Variable](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/SwapValueWithoutUsingThirdVariable.c)
- [Relational Operators in C](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/RelationalOperators.c)
- [Ternary Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/TernaryOperator.c)
- [Leap Year Using Ternary Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/LeapYearTernaryOperator.c)
- [Sizeof Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/SizeofOperator.c)
- [Find ASCII Value](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/FindAsciiValue.c)
- [Reverse Number](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/ReverseNumber.c)
- [Reverse Number 2](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/ReverseNumber2.c)
- [Bitwise Left Shift Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BitwiseLeftshiftOperator.c)
- [Bitwise Complement Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BitwiseComplementOperator.c)
- [Bitwise AND Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BitwiseAndOperator.c)
- [Bitwise Odd or Even](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BitwiseOddOrEven.c)
- [Increment Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/IncrementOperator.c)
- [Decrement Operator](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DecrementOperator.c)
- [Nested If Leap Year](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/NestedIfLeapYear.c)
- [Nested if Greatest Integer](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/NestedifGreatestInteger.c)
- [Number to Character](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Number-to-Character.c)
- [Check Character Type](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/CheckCharacterType.c)
- [Employee Grade](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/EmployeeGrade.c)
- [Daily Wage Calc](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DailyWageCalc.c)
- [Day Name Using Switch Case](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DayNameUsingSwitchCase.c)
- [Vowel or Consonant](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/VowelorConsonant.c)
- [Calculator using switch case](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/CalcUsingSwitchCase.c)
- [Bubble Sort](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BubbleSort.c)
- [Insertion Sort](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Insertionsort.c)
- [Merge Sort](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Mergesort.c)
- [Quick Sort](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Quicksort.c)
- [Goto statement](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/GotoStatementEvenOrOdd.c)
- [Mirror Number](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/MirrorNumber.c)
- [Dice roll with Adjustable sides](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DiceRoll.c)
- [Dynamic 2D Array Using One Pointer](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DynamicTwoDArrayUsingOnePointer.c)
- [Dyanamic 2D Array using Array of Pointer](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DynamicTwoDArrayUsingArrayOfPointer.c)
- [Digital Root of a Number](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DigitalRoot.c)
- [Swap By Reference Vs Swap By Copy](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/SwapByRefandCopy.c)
- [Display Linux Environment Variables](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DisplayLinuxEnvirmentVariables.c)
- [Factorial](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Factorial.c)
- [Get String Length](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/StringLength.c)
- [Decimal To Binary](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/DecimalToBinary.c)
- [Haystack and Needle (SubString)](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/HaystackAndNeedle_SubString.c)
- [Pointers in C](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Pointers.c)
- [Binary Search](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/BinarySearch.c)
- [Recursion](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Recursion.c)
- [Segmentation Fault or Bus Error Demo](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/SegmentationFaultorBusErrorDemo.c)
- [Structure](https://github.com/gouravthakur39/beginners-C-program-examples/blob/master/Structure.c)
- [Swapping 2 Numbers Without a Third Variable or ^](https://github.com/geetanjaliaich/beginners-C-program-examples/blob/FactorialEratosthenes/SwapIntegersWithout3rdVariable(Arithmatic).c)
- [Print 100 Prime numbers using Seive of Eratosthenes](https://github.com/geetanjaliaich/beginners-C-program-examples/blob/FactorialEratosthenes/PrimeByEratosthenes.c)
- [Palindrome Number](https://github.com/geetanjaliaich
没有合适的资源?快使用搜索试试~ 我知道了~
简单,简短且适合初学者友好的C语言程序 仅供学习参考用代码.rar
共173个文件
c:147个
cpp:4个
md:2个
需积分: 0 1 下载量 93 浏览量
2023-05-09
23:12:44
上传
评论
收藏 278KB RAR 举报
温馨提示
简单,简短且适合初学者友好的C语言程序 仅供学习参考用代码
资源推荐
资源详情
资源评论
收起资源包目录
简单,简短且适合初学者友好的C语言程序 仅供学习参考用代码.rar (173个子文件)
Address of 1-D array 681B
Anagram-Program-in-C 2KB
Binary to decimal 230B
Binary-Tree-Traversals 1KB
BasicGame.c 11KB
ARRAY.c 5KB
priority_queue.c 4KB
LinkedLists.c 4KB
AllTempScalesConv.c 3KB
BackgroundThreadSorter.c 3KB
combine_calculator.c 2KB
Number_to_Character.c 2KB
DecimalToHexadecimalViceVersa.c 2KB
MagicNumbers.c 2KB
Stack - Linked List.c 1KB
Mergesort.c 1KB
ip_address.c 1KB
Polynomial_linklist.c 1KB
MostFrequentWordInString.c 1KB
CalcUsingSwitchCase.c 1KB
SumUsingThreads.c 1KB
Diagonal-Difference.c 1KB
DailyWageCalc.c 1KB
counting_sort.c 1KB
SparseMatrix_017.c 1KB
BinarySearch.c 1KB
nCrCalculatorLargeNumbers.c 1KB
kth smallest no in an array.c 1KB
FIND_EVEN_ AND_DIVISIBLE_BY_3.c 1KB
SelectionSort.c 1KB
RelationalOperators.c 1024B
Lexicographic_Sorting.c 1016B
HaystackAndNeedle_SubString.c 1010B
heap sort.c 988B
fastModuloExponentiation.c 985B
Quicksort.c 974B
ArmstrongNumber.c 960B
TemperatureSwitch.c 958B
DecimalToBaseN.c 947B
Adding_Fractions.c 944B
LinearCongruentialGenerator.c 930B
DecimalToBinary.c 930B
gcd.c 927B
MirrorNumber.c 904B
SwapByRefandCopy.c 901B
endian.c 882B
EncryptDecryptXOR.c 879B
volume_cone_sphere.c 877B
PrimeByEratosthenes.c 854B
transposeOfMatrix.c 853B
GotoStatementEvenOrOdd.c 824B
SquareRoot.c 813B
EmployeeGrade.c 807B
last-digit-fibonacci.c 799B
BasicArithmatic.c 788B
DigitalRoot.c 784B
Prime.c 766B
binary_to_octal.c 763B
Pointers.c 736B
Pattern1.c 721B
DayNameUsingSwitchCase.c 720B
PalindromeNumber.c 710B
Changingbase.c 693B
Largest.c 686B
SpiralMatrix.c 673B
Factorial.c 651B
Convert an array to reduced form.c 651B
increment_number.c 646B
Palindrome.c 644B
lcm.c 642B
large_factorial.c 635B
BubbleSort.c 632B
Insertionsort.c 615B
NestedIfLeapYear.c 606B
DynamicTwoDArrayUsingArrayOfPointer.c 586B
SegmentationFaultorBusErrorDemo.c 579B
StringLength.c 575B
DiceRoll.c 547B
VowelorConsonant.c 534B
RussianPeasantMultiplication.c 532B
CalculateSimpleInterest.c 531B
Structure.c 528B
PascalTriangle.c 524B
CommonElementsInTwoArrays.c 519B
SimpleEMICalculator.c 505B
Automorphic_number.c 499B
DynamicTwoDArrayUsingOnePointer.c 486B
StudentMarksPercentage.c 479B
linearsearch.c 454B
pattern.c 446B
CheckCharacterType.c 441B
FibonacciGeneration.c 431B
StringReverse.c 416B
omang_fibonacci.c 402B
SimpleInterestCalculator.c 401B
closestpowerof2.c 401B
Recursion.c 396B
NestedifGreatestInteger.c 389B
getPIDs.c 376B
Log_Conversion.c 375B
共 173 条
- 1
- 2
资源评论
极客11
- 粉丝: 355
- 资源: 1460
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功