C tutorials and Example programs
- C program to print the ASCII value of a character
- C program to find if two numbers are Amicable or not
- C program to check if a string is palindrome or not
- C program to find the surface area of a cube
- C program to check if a number is magic number or not
- C program to find the factorial of a number using recursion
- C program to find the maximum and minimum number in an array
- C program to check if two strings are equal or not
- C program to print fibonacci series using recursion
- C program to find the third angle of a triangle if other two are given
- C program to separate even and odd numbers from an array
- C program to remove the vowels from a string
- C program to find the power of a number using loop
- C program to calculate the total number of lines in a file
- C program to check if a year is leap year or not
- C program to count number of 1 using Brian Kernighan’s Algorithm
- C program to find the remainder without using modulo operator
- C program to add two numbers using their addresses
- C program to calculate profit or loss
- C program to print pyramid using star or any other character
- C program to find the sum of ‘n’ numbers using dynamic memory allocation
- C program to copy one string to another
- C program to print a diamond pattern using star or any character
- C program to print all uppercase and lowercase letters in the alphabet
- C program to convert a decimal number to octal
- Compare two strings in C using strcoll()
- C program to print alternate numbers of an user input array
- C program to concatenate two strings without using strcat()
- C program to swap two numbers using call by reference
- C program to find the largest two numbers in a number array
- C program to check if a substring exists in a string or not
- C program to check if a number is a perfect number or not
- C program to check if a number is Pronic or not
- C program compare two numbers without using if-else
- C program to convert seconds into hour/minute/seconds
- C program tutorial to swap two strings
- C program to swap adjacent elements of a one-dimensional array
- C program to swap two numbers using bitwise XOR operation
- C program to find the sum of first n odd numbers starting from 1
- C program to remove all characters from a string keeping all numbers
- C program to sort characters in a string as per their ASCII values
- C program to reverse a user input integer array
- C program to print from 1 to N using recursive main function
- C program to print a square table of a number using pow()
- C program to print a right-angled triangle using numbers
- C program to print or format a number to words
- C program to print a string without using semicolon in the printf
- C program to print elements of an array and address of each element
- C program to print the addition table for a number
- C program to calculate the sum of positive/negative numbers in an array
- Nested printf statement in C with examples
- Insertion sort implementation in C : Sorting an integer array
- C program to find the total digits in a number
- C program to find the length of a string
- C program to find the last vowel in a string
- C program to find the first and the last position of a character in a string
- C program to find the first vowel in a user input string
- C program to get the first uppercase letter in a string
- C program to find the first non repeating character in a string
- C program to ask the user to select a number within a range
- C programming example to check if two strings are anagram or not
- C program to print the current time, day, month, and year
- C program to pass different types of arguments to a function
- C program to explain how fmod and modf function works
- C program to create and iterate through a linked list
- C program tutorial to print a number pattern
- C program to print from A to Z with lower and upper case alternatively
- C program to remove the first character of each word of a string
- C program to print a star or X pattern using any character
- C program number pattern example for beginner
- C program to remove the head node or first node from a linked list
- C programming structure explanation with example
- C program to find total number of sub-array with product less than a value
- C program to find total lowercase,uppercase,digits etc in a string
- C program to read user input and store them in two dimensional array
- C programming tutorial to learn atof, atoi and atol functions
- What is auto variable in C and how it works
- Find ‘sin’ ‘cos’ and ‘tan’ values of a ‘degree’ in C
- C programming example to print the source code of the current program
- C program to check if a number is positive,negative or zero using macros
- C program to read the contents of a file character by character
- How to use strchr to print substring starting from a specific character
- fabs function in C with example
- C program to check if a number is palindrome or not
- C program to find compound interest using user input values
- C program to find out the palindrome number in a range
- C program to count and print frequency of each letter in a word
- C program to calculate simple interest
- C program to insert an element in an array at any specific position
- C program to check if a number is in a range with one line
- C program to print two arrays using a separate function
- Swap two numbers without using a third number using a macro in C
- C program to print a random number in a range
- C program to check if a number is even or odd using bitwise operator
- C program to print half right angled triangle or half pyramid
- C program to remove one specific element from an array
- Write a C program to draw spiral two column number pattern
- C program to count even and odd numbers in a user input array
- How to write a multi-line Macro in C
- C program to sort array in ascending or descending order using pointer
- perror function in C explanation with example
- C program to pass a two-dimensional array to a different function
- C program to reverse an user provided number
- C program to find the sum of A.P. series
- C program to print all combinations of three numbers
- C program to print the ASCII values of all lowercase characters
- C program to find the length of a linked list recursively
- C program to compare two strings using strcmp
- Use pointer to find the largest of three numbers in C
- C program to find the nth fibonacci number
- C program to print Floyd’s triangle
- How to print a pascal’s triangle in C with explanation
- C strrchr library function explanation with example
- C strspn function explanation with examples
- C program to find the square and cube of a number
- Logical operators in C with example
- C program to print a new line without using \n
- Logical OR operator explanation with example in C
- C program to convert meter to yard
- C example program to add numbers to an array
- C program to print the length of each words in a string
- C program to read user input string and print each word in a new line
- C program to calculate the area of a rectangle
- 5 different ways to find the volume of a cube in C
- C toUpper() method explanation with example
- C program to check if a character is white-space or not
- C program to read contents of a file and print all characters in uppercase
- How to get the length of an array in C
- Write a C program to find the frequency of vowels in a string
- How to skip characters with scanf() in C
- What is memset function in C and how it works
- Introduction to strcat function in C with example
- C program to arrange numbers in ascending order
- How to print double quotes in C using printf
- C program to find the GCD of two user given numbers in 2 different ways
- C program to convert Celsius to Fahrenheit
- Use switch case to find the number of days in a month in C
- C program to sort names or strings in alphabetical order
- C program to print the current hour, minute and second values
- C program to print multiplication table using goto statement
- How can we access global variables in C
- C program to convert decimal to hexadecimal value
- C program to check if a Hexadecimal number is even or odd
- Escape sequence in C explanation with example
- C logical AND, && explanation with examples
- C program to convert a string to uppercase or capitalize all characters
- C program to check if a character is a vowel or consonant
- C program to print squares and cubes of all numbers from 1 to n
- How to declare a variable dynamically in C
- Difference between %d and %i format specifiers in C
- Write a C program to add two distances using structure
- Example of fseek() in C
- C program to find the missing number in an array
- C program to read numbers from a file and store them in an array
- C program find the sum of the harmonic progression
- Write a C program to convert an integer value to character
- What is %p modifier in C programming
- C program to add two distances in feet and inches using structure
- C program to print a name multiple times without using loop or function
- What is compilation and how compilation process works in C
- C program to check if a string is empty or not
- How to find the LCM of two numbers in C
- C program to check if a character is uppercase without using a library function
- fork() method explanation with example in C
- C program to reverse a string without using any library function(strrev)
- How to use strstr in C with example
- How to split a string in C using strtok library function
- C program to print all words in a string ends with a specific character
- C program to convert hour to minute and seconds value
- C nanosleep method explanation with example
- How to delete an empty directory in C
- How to copy a file in C programming
- C getc and putc methods explanation with example
- C program to find the hypotenuse of a right-angled triangle
- C program to print all printable characters
- How to read an octal value using scanf in C
- How to find the square root of a number in C
- C program to read an unsigned integer value using scanf
- C program to convert decimal to binary
- C program to get the integer and fraction or decimal part
- C program to print all perfect numbers in a range
- C fsetpos method explanation with example
- C program to print a two-digit number to word
- How to find the income tax of an employee in C
- C program to multiply two numbers using plus or addition operator
- C program to print the name using array
- C program to save the output of a program to file
- C program to store and display the details of an employee by using structure
- C program to find the average runs of cricket players using structure
- C program to convert a string to hexadecimal value
- C program to swap two bits of a number
- C program to find the number of lines, words and characters in a string
- How to create a hollow diamond star pattern in C
- C program to print the size of the longest word in a string
- How to print the longest word of a string in C
- C program to convert binary values to octal
- C program to check if a number is Neon or not
- C program to check if a number is a Strong number or not
- C program to keep reading inputs until -1 is received
- 4 different C program to check if a number is Armstrong number or not
- Keywords in C explanation with examples
- C program to reverse a positive and negative number recursively
- C program to delete an element from an Array
- C program to find the median of an array
- C program to print box pattern using a number or any other character
- C itoa() function implementation explanation with example
- C program to write and read structures to and from a file
- C program to check if a number is a disarium number or not
- C program to check if a number is Abundant or Excessive
- C program to find if a number is a Deficient number or not
- C program isxdigit method example to check if a character is hexadecimal
- C program to find all Abundant numbers from 1 to 100
- C program to check if a character is lowercase using islower
- C program to check if a character is uppercase using isupper
- C program to print all Deficient numbers from 1 to 100
- C program to find all disarium numbers from 1 to 100
- C program to check if a number is a Kaprekar number or not
- C library function gets() explanation with examples
- putchar() method explanation with example
- typedef in C explanation with examples
- C program to find the nth Armstrong number
- 5 different C programs to print all natural numbers from 1 to n
- C program to find the sum of first n natural numbers
- 3 different C programs to find the sum of first n odd natural numbers
- 3 different C programs to find the sum of first n even natural numbers
- 4 different ways to print the natural numbers in reverse order in C
- C program to find the first and the last digits of a number
- C program to find the sum of digits of a number
- 2 different C programs to draw a butterfly pattern
- 2 different C programs to find the volume and surface area of a cylinder
- 2 different C programs to print a triangle of prime numbers
- 4 different C programs to check if a number is prime or not
- 3 different C programs to find all prime numbers in a range
- 3 ways to find the area and circumference of a circle in C
- 3 different C program to check for spy number
- 3 different C programs to convert kilometers to miles
- 3 different C programs to print a half diamond star pattern
- 3 different C programs to print a hollow parallelogram star pattern
- 3 different C programs to print odd numbers between 1 to 100
- 3 different C programs to print the grade of a student
- 3 different C programs to print an inverted Pyramid pattern
- C program to print the multiplication table using do…while loop
- 10 different alphabet pattern programs in C
- C program to find the distance between two cities in different units
- C program to subtract two user input numbers
- C program to print the current date-time in different formats
- C program to find the perimeter of a rectangle
- C program to check if a character is an Alphabet or not
- C program to print an alphabet triangle with user-input height
- How to take user inputs with spaces in C