AsegGasiaBlog

Program C

Program C Programming
Array

Addition and Subtraction of Two Matrix
Addition of 2 matrix
Array in Ascending Order
Array Initialization
Array of Struct
Check Matrix is a Sparse Matrix
Delete Element from Array
Delete Given Number from the Array
Determinant of 2X2 matrix
Determinant of 3X3 matrix
Find largest and smallest number in an array
Identity Matrix or Not
Implement a Queue using Array
Implement Stack using Array
Insert an element in an array
Inverse of a Matrix
Magic Matrix
Matrix Multiplication
Matrix Transpose
Maximum Number in an Array
Minimum Number in an Array
Norm and Trace of Matrix
Print All Distinct/Unique elements of an integer array
Print Alternate Elements
Remove Duplicate from Array
Reverse an Array
Search an element in Array
Sort array in Descending Order
Sort Names Alphabetically
Square Matrix is Symmetric or Not
Sum & Average of all Numbers
Sum of Diagonal elements of an array
Sum of each row of matrix

Basic

Largest of Three numbers using nested if else

Ctype.h

isalnum() example
isalpha() example
iscntrl() example
isdigit() example
isgraph() example
islower() example
isprint() example
ispunct() example
isspace() example
isupper() example
isxdigit() example
tolower() example
toupper() example

Data Structures

Binary Search
Binary Search Tree
Binary Search using Recursion
Breadth-first search (BFS)
Circular Linked List
Circular Queue
Depth-first search (DFS)
Doubly Linked List
Knuth Morris Pratt algorithm (KMP String Matching)
Linear Search
Linked List
Linked Queue
Queue
Single Linked List Operations
Stack
Stack implementation using Array
Stack Using Pointer

File Handling 

Copy contents of file1 to file2
Count number of Characters Lines Spaces and Tabs in a given text file
Read File using fgetc()
Store Employee Record in File

Formula

Add Two Numbers using Pointers
Add, Subtract, Multiply & Divide
Addition of first and last digit of a Number
Area of a Triangle using Heron's Formula
Area of Circle/ Circumference
Area of Triangle
Binary to Decimal
Bisection Method
Calculate Probability Distribution
Convert Infix to Postfix
Decimal to Binary
Find roots of a Quadratic Equation
GCD of numbers
Greatest among 3 Number
Greatest Common Divisor (GCD) using Functions
Lagrange's Interpolation Method for Finding f(X)
Leap Year
Maximum Repeating Number
nCr& nPr
Newton Raphson
Octal to Decimal
Perfect Square
Quadratic Roots
Second Largest Among Three No.
Set operations - Union Intersection Difference Complement
Simple Interest
Simpson 1/3 Rule
Sum of Even Numbers from 1 to N
Temperature Conversion from Celsius to Fahrenheit

Functions

Function with argument and return value
Strcmp function
Use of strcpy

Game

Sudoku
Tic Tac Toe
Tower of Hanoi

Graphics

Draw Bar Chart
Draw Pie Chart
Drawing concentric circles

Loop

Do While Loop Example
Even and Odd printing using & operator and Loop
For Loop
Loop break
nested loop
While Loop

Miscellaneous

ASCIl value of a Character
Balanced Brackets
Calendar
Change Text Background Color
Change Text Color
Check vowel using switch statement
Convert entered char to Reverse case
Convert number to Words
Date format
Difference Between Two Time Period
Display Today's Date and Time
Escape Sequence
Find Day on Given Date
Find Largest and Smallest using global variable declaration
FizzBuzz Program
Fraction
Hello World Example
If-else Statement
Input string with spaces ( gets() example)
Menu Driven System
Military Time (24hr to 12hr)
putchar() example
Print an Integer
Program without using main() function
Reading Input Example
Shutdown Ubuntu Linux
Shutdown Windows 7
Shutdown Windows XP
Switch Case
Use of getchar() example

Number

Add 'n' Numbers
Add'n' Numbers Using Array
Add Digits of a Number
Add Digits of a Number Using Recursion
Armstrong Number
Armstrong Numbers From 1 to 500
Average of Numbers
Calculate Square of 'n' numbers
Calculate Square of given number
Check if Number is Prime
Check If Alphabet is Vowel
Check number is integer or float
Check whether two numbers are Amicable Numbers
Convert numbers to Roman numbers
Display Prime Numbers Between two Intervals
Factorial of a Number
Factors of Number
Fibonacci series of range n
Fibonacci Series
Find Even or Odd
Find Power of Number (xAn)
GCD of two number
HCF & LCM
Largest among 3 no. using Ternary Operator
Largest number of 'n' Number
Multiplication Table
Neon Number
Next 5 Successive Numbers
Niven number
Palindrome
Perfect Number
Print Primes till 'n'
Print Primes Using Function
Reverse of a Number
Sine Series
Square Root of a Number
Sum of 'n' Prime Number
Sum of factorial Series 1/1! +2/2! t...1/N!
Sum of n Numbers
Sum of n Terms in Taylor series
Sum of Squares
Swap two numbers without using third variable
Swap Two Number Using Bitwise XOR
Swap Two Number Using Pointer
Swap Two Numbers

Pattern

Binary Pattern
Diamond
Diamond of Numbers
Diamond Star outline
Floyds Triangle
Hollow Diamond
Hollow Square
Hourglass Pattern
Nested Star-Hash Pyramid
Number Alphabet pattern
Number Diamond Pattern
Number Pattern 1
Number Pattern 2
Number Pattern 3
Number Pattern 4
Number Pyramid
Pascal Triangle
Pascal Triangle 2
Pascal's Triangle Without Using Function
Pattern 1
Pattern 2
Pattern 3
Pattern 4
Pattern 5
Pattern 6
Pattern 7
Pattern 8
Pattern 9
Pattern 10
Pyramid
Rectangle Pattern 1
Rectangle star pattern
Reverse Star Triangle
Rhombus Pattern
Square Kite Pattern
Square star pattern
Triangle with only Border
X Pattern

Pointer

Add two number using Pointer
Allocate memory dynamically using malloc() and free memory using free()
Array of Char Pointer
Array of int Pointer
Concatenate two String using Pointer
Decrementing a Pointer
Incrementing a Pointer
Nested Structure with Pointers
NULL Pointer
Pointer Comparison
Pointer to a Pointer
Pointer to Function
Pointers & Structures
Reverse the String using Pointer
Simple Pointer Example

Recursion

Add two number using Recursion
Calculate power of 'n' using recursion
Check a number is prime number or not by recursioon
find largest element of an array by recursion
Fibonacci series using recursion
Find factorial using recursion
GCD of two number by recursion
LCM of two numbers by recursion
Palindrome using recursion
Sum of 'n' numbers using recursion

Sort

Balloon Sort
Bubble Sort
Bucket Sort
Heap Sort
Insertion Sort
Merge Sort
Quick Sort
Radix Sort
Randomized Quick Sort
Selection Sort
Shell Sort
String Sorting - Using Shell Sort Technique

String

Add String without using concat()
Check Anagram
Check Vowels in String
Compare strings without using strcmp()
Compare two Strings
Concat String
Conversion from uppercase to lower case
Copy char array / Copy String
Copy String without using strcpy() function
Count frequency of characters in a string
Count total number of uppercase & lowercase in String
Length of String
Length of String without using strlen()
Palindrome of String
Palindrome Using Array
Remove white spaces in String
Reverse string using pointer
Reverse the String
Reversing the order of words in a sentence
String Sorting
Swap two strings

Popular Posts