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.
- Hello World!
- Area and circumference
- Basic Arithmatic
- Fahrenheit To Celcius
- Lowercase To Uppercase
- Uppercase To Lowercase
- Simple Interest Calculator
- Student Marks Percentage
- Swap Values Using Third Variable
- Swap Value Without Using Third Variable
- Relational Operators in C
- Ternary Operator
- Leap Year Using Ternary Operator
- Sizeof Operator
- Find ASCII Value
- Reverse Number
- Reverse Number 2
- Bitwise Left Shift Operator
- Bitwise Complement Operator
- Bitwise AND Operator
- Bitwise Odd or Even
- Increment Operator
- Decrement Operator
- Nested If Leap Year
- Nested if Greatest Integer
- Check Character Type
- Employee Grade
- Daily Wage Calc
- Day Name Using Switch Case
- Vowel or Consonant
- Calculator using switch case
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Goto statement
- Mirror Number
- Dice roll with Adjustable sides
- Dynamic 2D Array Using One Pointer
- Dyanamic 2D Array using Array of Pointer
- Digital Root of a Number
- Swap By Reference Vs Swap By Copy
- Display Linux Environment Variables
- Factorial
- Get String Length
- Decimal To Binary
- Haystack and Needle (SubString)
This is a personal learning project for me.
Please feel free to fork this repo. Pull request to submit more programs.